chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { defineConfig } from '../../src';
|
||||
|
||||
export default defineConfig({
|
||||
schema: './schema.ts',
|
||||
dialect: 'sqlite',
|
||||
driver: 'd1-http',
|
||||
dbCredentials: {
|
||||
accountId: 'accid',
|
||||
databaseId: 'dbid',
|
||||
token: 'token',
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,9 @@
|
||||
import { defineConfig } from '../../src';
|
||||
|
||||
export default defineConfig({
|
||||
schema: './schema.ts',
|
||||
dialect: 'postgresql',
|
||||
dbCredentials: {
|
||||
url: 'postgresql://postgres:postgres@127.0.0.1:5432/db',
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
import { defineConfig } from '../../src';
|
||||
|
||||
export default defineConfig({
|
||||
schema: './schema.ts',
|
||||
dialect: 'sqlite',
|
||||
driver: 'durable-sqlite',
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
import { defineConfig } from '../../src';
|
||||
|
||||
export default defineConfig({
|
||||
schema: './schema.ts',
|
||||
dialect: 'sqlite',
|
||||
driver: 'expo',
|
||||
});
|
||||
@@ -0,0 +1,13 @@
|
||||
import { defineConfig } from '../../src';
|
||||
|
||||
export default defineConfig({
|
||||
schema: './schema.ts',
|
||||
dialect: 'postgresql',
|
||||
dbCredentials: {
|
||||
host: '127.0.0.1',
|
||||
port: 5432,
|
||||
user: 'postgresql',
|
||||
password: 'postgres',
|
||||
database: 'db',
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,17 @@
|
||||
import { defineConfig } from '../../src';
|
||||
|
||||
export default defineConfig({
|
||||
schema: './schema.ts',
|
||||
dialect: 'postgresql',
|
||||
dbCredentials: {
|
||||
host: '127.0.0.1',
|
||||
port: 5432,
|
||||
user: 'postgresql',
|
||||
password: 'postgres',
|
||||
database: 'db',
|
||||
},
|
||||
migrations: {
|
||||
schema: 'custom',
|
||||
table: 'custom',
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1 @@
|
||||
// mock
|
||||
@@ -0,0 +1,10 @@
|
||||
import { defineConfig } from '../../src';
|
||||
|
||||
export default defineConfig({
|
||||
schema: './schema.ts',
|
||||
dialect: 'turso',
|
||||
dbCredentials: {
|
||||
url: 'turso.dev',
|
||||
authToken: 'token',
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user