Skip to content

[BUG]:expo-sqlite Property 'journal' is missing in type '{ migrations: ... #5214

@Nedi11

Description

@Nedi11

Report hasn't been filed before.

  • 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

  const { success, error } = useMigrations(db, migrations);

get this error

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<string, string>; }'.
  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<string, string>; }'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions