logseq / logseq/db-test

Import Error: Attribute :block/journal-day should be marked as :db/index true

Open
#957 2 comments 0 reactions 1 assignee View on GitHub

@tiensonqin is already working on this.

Since Jun 23, 2026.

can't reproduce
Dominant language
No language data
Stars
28
Forks
2
PR merge metrics
No merged PRs in 30d

Description

### Search first

- [x] I searched and no similar issues were found

### What Happened?

When i export a new graph as EDN file and import it, i get this error:

Something went wrong

`Attribute :block/journal-day should be marked as :db/index true`

### Reproduce the Bug

1. Create new graph
2. Export as EDN
3. Import EDN file

### Expected Behavior

no errors

### Screenshots

_No response_

### Files

_No response_

### Browser, Desktop or Mobile Platform Information

NixOS 25.11.10684.8fd9daa3db09
Logseq-linux-x86_64-2.0.1-alpha+nightly.20260622

### Additional Context

The graph is still sucessfully imported. No validation error.

Exported:

Your graph is valid! {:entities 194, :pages 143, :blocks 38, :classes 18, :properties 118, :objects 7, :property-pairs 630, :datoms 2409}

Imported:

Your graph is valid! {:entities 194, :pages 143, :blocks 38, :classes 18, :properties 118, :objects 7, :property-pairs 630, :datoms 2783}

No error with SQLite file import.

### Are you willing to submit a PR? If you know how to fix the bug.

- [ ] I'm willing to submit a PR (Thank you!)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.