update component

This commit is contained in:
zhuxu 2024-12-18 11:30:26 +08:00
parent bab4c1f803
commit be5999be7a
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ COMMENT ON COLUMN page.operate_at IS '操作时间';
-- DROP TABLE IF EXISTS component; -- DROP TABLE IF EXISTS component;
CREATE TABLE component ( CREATE TABLE component (
id SERIAL PRIMARY KEY, id SERIAL PRIMARY KEY,
global_uuid UUID DEFAULT uuid_generate_v4(), global_uuid UUID NOT NULL DEFAULT gen_random_uuid(),
visible_id VARCHAR(50) NOT NULL DEFAULT '', visible_id VARCHAR(50) NOT NULL DEFAULT '',
comment VARCHAR(500) NOT NULL DEFAULT '', comment VARCHAR(500) NOT NULL DEFAULT '',
name VARCHAR(50) NOT NULL DEFAULT '', -- 可见字符即可 name VARCHAR(50) NOT NULL DEFAULT '', -- 可见字符即可