[maimai2] Add userGeneralData table

This commit is contained in:
Dom Eori
2021-10-07 21:51:44 +09:00
parent c9f80215ca
commit 8b22168df9
4 changed files with 96 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
create table maimai2_user_general_data
(
id bigint auto_increment
primary key,
property_key varchar(255) not null,
property_value text not null,
user_id bigint null,
constraint UKiPb2EMwbXzqTUfMun6Y4AeAKx
unique (user_id, property_key),
constraint FK6BJbvEH8Z22SLbwWKxsb7uarS
foreign key (user_id) references maimai2_user_detail (id)
);