Skip to content

Commit 4731fc1

Browse files
author
UlricQin
committed
Update iperl.sql
add table iperl_invitations
1 parent 8c09ee0 commit 4731fc1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

data/iperl.sql

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,15 @@ primary key (id)
9292

9393
create index idx_page_user on iperl_pages ( user );
9494

95+
drop table if exists iperl_invitations;
96+
create table iperl_invitations
97+
(
98+
id int unsigned not null auto_increment,
99+
invitation varchar(64) not null comment '邀请码',
100+
used tinyint not null,
101+
primary key (id)
102+
)ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
103+
104+
create index idx_intivation_inti on iperl_invitations ( invitation );
105+
106+

0 commit comments

Comments
 (0)