Files
drizzle-team--drizzle-orm/integration-tests/drizzle2/planetscale/meta/0000_snapshot.json
T
2026-07-13 12:10:05 +08:00

133 lines
3.1 KiB
JSON

{
"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": {}
}
}