You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
419 B

  1. create table customCategory (
  2. id char(32) not null,
  3. content mediumtext not null,
  4. created datetime not null default CURRENT_TIMESTAMP,
  5. primary key(id)
  6. );
  7. create table customCategoryAccess (
  8. id char(32) not null,
  9. ts datetime not null default CURRENT_TIMESTAMP,
  10. foreign key(id) references customCategory(id) on delete cascade
  11. );