chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:10:05 +08:00
commit d37d8d293b
1388 changed files with 484182 additions and 0 deletions
+12
View File
@@ -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',
},
});
+9
View File
@@ -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',
});
+7
View File
@@ -0,0 +1,7 @@
import { defineConfig } from '../../src';
export default defineConfig({
schema: './schema.ts',
dialect: 'sqlite',
driver: 'expo',
});
+13
View File
@@ -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',
},
});
+17
View File
@@ -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',
},
});
+1
View File
@@ -0,0 +1 @@
// mock
+10
View File
@@ -0,0 +1,10 @@
import { defineConfig } from '../../src';
export default defineConfig({
schema: './schema.ts',
dialect: 'turso',
dbCredentials: {
url: 'turso.dev',
authToken: 'token',
},
});