add forward table
This commit is contained in:
parent
3536f01258
commit
add126bc6c
@ -585,3 +585,14 @@ create table login_token (
|
|||||||
constraint primary key (user_id)
|
constraint primary key (user_id)
|
||||||
) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;
|
) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;
|
||||||
|
|
||||||
|
create table forward (
|
||||||
|
|
||||||
|
profile_id integer not null comment 'profile who forwarded the notice' references profile (id),
|
||||||
|
notice_id integer not null comment 'notice they forwarded' references notice (id),
|
||||||
|
|
||||||
|
created datetime not null comment 'date this record was created',
|
||||||
|
|
||||||
|
constraint primary key (profile_id, notice_id)
|
||||||
|
|
||||||
|
) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user