## Description Fixes #7492 In order to run createMigration, we need to read in the previous snapshot file if one exists. When that snapshot was generated from an older version of drizzle-kit, we have to first migrate it up match the latest version for drizzle to generate the new migration. This change adds in the call to check the version and migrate the snapshot if needed.
Payload Postgres Adapter
Official SQLite adapter for Payload.
Installation
npm install @payloadcms/db-sqlite
Usage
import { buildConfig } from 'payload/config'
import { sqliteAdapter } from '@payloadcms/db-sqlite'
export default buildConfig({
db: sqliteAdapter({
client: {
url: process.env.DATABASE_URI,
},
}),
// ...rest of config
})
More detailed usage can be found in the Payload Docs.