您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

20 行
539 B

  1. create type amendment_status as enum (
  2. 'proposed',
  3. 'approved',
  4. 'withdrawn',
  5. 'rejected'
  6. );
  7. create table amendments (
  8. id serial primary key,
  9. name text not null,
  10. cid text not null,
  11. summary text,
  12. status amendment_status not null default 'proposed',
  13. creator text not null,
  14. is_current boolean not null default true,
  15. previous_cid text,
  16. created_at timestamptz not null default now(),
  17. updated_at timestamptz not null default now(),
  18. proposal_id integer not null references proposals(id)
  19. )