mirror of
https://github.com/jorgev259/soc_site-astro.git
synced 2025-06-29 07:57:41 +00:00
Nullable album createdAt
This commit is contained in:
parent
ba1ba7a286
commit
ae7605ad4a
2 changed files with 3 additions and 1 deletions
|
|
@ -0,0 +1,2 @@
|
|||
-- AlterTable
|
||||
ALTER TABLE `albums` MODIFY `createdAt` DATETIME(0) NULL DEFAULT CURRENT_TIMESTAMP(0);
|
||||
|
|
@ -130,7 +130,7 @@ model albums {
|
|||
releaseDate DateTime? @db.Date
|
||||
label String? @db.VarChar(255)
|
||||
vgmdb String? @db.VarChar(255)
|
||||
createdAt DateTime @default(now()) @db.DateTime(0)
|
||||
createdAt DateTime? @default(now()) @db.DateTime(0)
|
||||
updatedAt DateTime @default(now()) @db.DateTime(0)
|
||||
publishedAt DateTime @default(now())
|
||||
description String? @db.VarChar(255)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue