Init nuxt-starter

This commit is contained in:
2024-07-23 20:27:33 +02:00
commit 5c96b8eea0
17 changed files with 279 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
CREATE TABLE `users` (
`id` integer PRIMARY KEY NOT NULL,
`name` text DEFAULT '',
`created_at` text DEFAULT (CURRENT_DATE)
);

View File

@@ -0,0 +1,49 @@
{
"version": "6",
"dialect": "sqlite",
"id": "ef8e28cd-73a1-4801-9a0b-7e80169a57c0",
"prevId": "00000000-0000-0000-0000-000000000000",
"tables": {
"users": {
"name": "users",
"columns": {
"id": {
"name": "id",
"type": "integer",
"primaryKey": true,
"notNull": true,
"autoincrement": false
},
"name": {
"name": "name",
"type": "text",
"primaryKey": false,
"notNull": false,
"autoincrement": false,
"default": "''"
},
"created_at": {
"name": "created_at",
"type": "text",
"primaryKey": false,
"notNull": false,
"autoincrement": false,
"default": "(CURRENT_DATE)"
}
},
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
}
},
"enums": {},
"_meta": {
"schemas": {},
"tables": {},
"columns": {}
},
"internal": {
"indexes": {}
}
}

View File

@@ -0,0 +1,13 @@
{
"version": "7",
"dialect": "sqlite",
"entries": [
{
"idx": 0,
"version": "6",
"when": 1721758030188,
"tag": "0000_hot_thunderball",
"breakpoints": true
}
]
}