DB 마이그레이션 스크립트 재생성

This commit is contained in:
static
2025-01-13 02:54:28 +09:00
parent 8bb4d70fa5
commit 68a764bf28
4 changed files with 13 additions and 5 deletions

View File

@@ -157,7 +157,8 @@ CREATE TABLE `session_upgrade_challenge` (
CREATE TABLE `user` (
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
`email` text NOT NULL,
`password` text NOT NULL
`password` text NOT NULL,
`nickname` text NOT NULL
);
--> statement-breakpoint
CREATE UNIQUE INDEX `client_encryption_public_key_unique` ON `client` (`encryption_public_key`);--> statement-breakpoint

View File

@@ -1,7 +1,7 @@
{
"version": "6",
"dialect": "sqlite",
"id": "f2fbe45c-1f1d-4dd8-92ab-dd057c0e668b",
"id": "928e5669-81cf-486c-9122-8ee64fc9f457",
"prevId": "00000000-0000-0000-0000-000000000000",
"tables": {
"client": {
@@ -1252,6 +1252,13 @@
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"nickname": {
"name": "nickname",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
}
},
"indexes": {

View File

@@ -5,8 +5,8 @@
{
"idx": 0,
"version": "6",
"when": 1736696839327,
"tag": "0000_lush_black_bolt",
"when": 1736704436996,
"tag": "0000_unknown_stark_industries",
"breakpoints": true
}
]

View File

@@ -1,7 +1,7 @@
{
"name": "arkvault",
"private": true,
"version": "0.1.0",
"version": "0.2.0",
"type": "module",
"scripts": {
"dev": "vite dev",