# `data.store_required`

Entity names no store and there is no `main`.

Area 5, [Data](../topics/data.md); not declinable; the next step is usually the human's.

`app.jadpo` declares a database, so `main` is no longer implied:


```jadpo
entity Note {
    id: Uuid
}
```

```text
error: `Note` names no store, and there is no `main`
 --> domains/notes/entities/note.jadpo:1:8
  |
1 | entity Note {
  |        ^^^^ which store?
  reason: An entity lives in `main` unless its file says `store: <connection>`, and `app.jadpo` declares no database called `main`; its databases are `archive`.
  next: Add `store: archive` to `Note` (human)
  rule: data.store_required
  help: https://jadpo.dev/docs/errors/data.store_required

check failed: 1 error, 2 files
```
