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
@@ -0,0 +1,20 @@
CREATE TABLE `drizzle_tests_cities_migration` (
`id` int,
`fullname_name` text,
`state` text
);
--> statement-breakpoint
CREATE TABLE `drizzle_tests_users_migration` (
`id` int PRIMARY KEY NOT NULL,
`full_name` text,
`phone` int,
`invited_by` int,
`city_id` int,
`date` timestamp DEFAULT (now())
);
--> statement-breakpoint
CREATE TABLE `drizzle_tests_users12` (
`id` serial AUTO_INCREMENT PRIMARY KEY NOT NULL,
`name` text NOT NULL,
`email` text NOT NULL
);
@@ -0,0 +1,132 @@
{
"version": "5",
"dialect": "mysql",
"id": "8e8c8378-0496-40f6-88e3-98aab8282b1f",
"prevId": "00000000-0000-0000-0000-000000000000",
"tables": {
"drizzle_tests_cities_migration": {
"name": "drizzle_tests_cities_migration",
"columns": {
"id": {
"name": "id",
"type": "int",
"primaryKey": false,
"notNull": false,
"autoincrement": false
},
"fullname_name": {
"name": "fullname_name",
"type": "text",
"primaryKey": false,
"notNull": false,
"autoincrement": false
},
"state": {
"name": "state",
"type": "text",
"primaryKey": false,
"notNull": false,
"autoincrement": false
}
},
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {}
},
"drizzle_tests_users_migration": {
"name": "drizzle_tests_users_migration",
"columns": {
"id": {
"name": "id",
"type": "int",
"primaryKey": true,
"notNull": true,
"autoincrement": false
},
"full_name": {
"name": "full_name",
"type": "text",
"primaryKey": false,
"notNull": false,
"autoincrement": false
},
"phone": {
"name": "phone",
"type": "int",
"primaryKey": false,
"notNull": false,
"autoincrement": false
},
"invited_by": {
"name": "invited_by",
"type": "int",
"primaryKey": false,
"notNull": false,
"autoincrement": false
},
"city_id": {
"name": "city_id",
"type": "int",
"primaryKey": false,
"notNull": false,
"autoincrement": false
},
"date": {
"name": "date",
"type": "timestamp",
"primaryKey": false,
"notNull": false,
"autoincrement": false,
"default": "(now())"
}
},
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {}
},
"drizzle_tests_users12": {
"name": "drizzle_tests_users12",
"columns": {
"id": {
"name": "id",
"type": "serial",
"primaryKey": true,
"notNull": true,
"autoincrement": true
},
"name": {
"name": "name",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"email": {
"name": "email",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
}
},
"indexes": {
"my_unique_index": {
"name": "my_unique_index",
"columns": [
"name"
],
"isUnique": true,
"using": "btree"
}
},
"foreignKeys": {},
"compositePrimaryKeys": {}
}
},
"schemas": {},
"_meta": {
"schemas": {},
"tables": {},
"columns": {}
}
}
@@ -0,0 +1,13 @@
{
"version": "5",
"dialect": "mysql",
"entries": [
{
"idx": 0,
"version": "5",
"when": 1680270921944,
"tag": "0000_nostalgic_carnage",
"breakpoints": true
}
]
}