thumbnail 테이블의 created_at 컬럼의 이름을 updated_at으로 변경

This commit is contained in:
static
2025-07-05 05:54:55 +09:00
parent 36d082e0f8
commit c236242136
6 changed files with 13 additions and 9 deletions

View File

@@ -16,7 +16,7 @@ export const up = async (db: Kysely<any>) => {
col.references("category.id").onDelete("cascade").unique(),
)
.addColumn("path", "text", (col) => col.unique().notNull())
.addColumn("created_at", "timestamp(3)", (col) => col.notNull())
.addColumn("updated_at", "timestamp(3)", (col) => col.notNull())
.addColumn("encrypted_content_iv", "text", (col) => col.notNull())
.addCheckConstraint(
"thumbnail_ck01",