feat: update model

This commit is contained in:
yanghao05
2025-04-18 16:59:00 +08:00
parent 76ad0d03c8
commit 62dd5899e0
3 changed files with 7 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ CREATE TABLE posts(
deleted_at timestamp,
status int2 NOT NULL DEFAULT 0,
title varchar(128) NOT NULL,
head_image int8 NOT NULL DEFAULT 0,
head_images jsonb DEFAULT '[]' ::jsonb NOT NULL,
description varchar(256) NOT NULL,
content text NOT NULL,
price int8 NOT NULL DEFAULT 0,