drizzle-team / drizzle-team/drizzle-orm
[BUG]:expo-sqlite Property 'journal' is missing in type '{ migrations: ...
- Dominant language
- TypeScript
- Stars
- 35.8k
- Forks
- 1.6k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 4
Description
### Report hasn't been filed before.
- [x] I have verified that the bug I'm about to report hasn't been filed before.
### What version of `drizzle-orm` are you using?
1.0.0-beta.8-734e789
### What version of `drizzle-kit` are you using?
1.0.0-beta.8-734e789
### Other packages
_No response_
### Describe the Bug
```ts
const { success, error } = useMigrations(db, migrations);
```
get this error
```bash
Argument of type '{ migrations: { "migration_name": any; }; }' is not assignable to parameter of type '{ journal: { entries: { idx: number; when: number; tag: string; breakpoints: boolean; }[]; }; migrations: Record; }'.
Property 'journal' is missing in type '{ migrations: { "migration_name": any; }; }' but required in type '{ journal: { entries: { idx: number; when: number; tag: string; breakpoints: boolean; }[]; }; migrations: Record; }'.
```
Contributor guide
Assessment
This issue has not been assessed yet.