import { defineConfig } from 'drizzle-kit';
export default defineConfig({
dialect: 'sqlite',
driver: 'd1-http',
dbCredentials: {
accountId: process.env.DB_ACCOUNT_ID!,
databaseId: process.env.DB_DATABASE_ID!,
token: process.env.DB_TOKEN!,
},
});
DB_ACCOUNT_ID=ваш_accountId
DB_DATABASE_ID=ваш_databaseId
DB_TOKEN=ваш_token