feat: add uuid for medias

This commit is contained in:
Rogee
2024-12-04 15:47:48 +08:00
parent 774f8644ab
commit 385c1b1e2f
5 changed files with 14 additions and 3 deletions

View File

@@ -68,6 +68,7 @@ CREATE INDEX idx_user_balance_histories_tenant_id ON user_balance_histories (ten
CREATE TABLE
medias (
id SERIAL8 PRIMARY KEY,
uuid uuid NOT NULL,
tenant_id INT8 NOT NULL,
title VARCHAR(198) NOT NULL,
description VARCHAR(198) NOT NULL,