the badge/ticket relationships through badge groups now work
This commit is contained in:
parent
87cf7c26f5
commit
4ca80ad734
6 changed files with 85 additions and 36 deletions
|
|
@ -119,14 +119,14 @@ sub upgradeEMS {
|
|||
$db->write("create table EMSBadgeGroup (
|
||||
badgeGroupId varchar(22) binary not null primary key,
|
||||
emsAssetId varchar(22) binary not null,
|
||||
name varchar(100),
|
||||
badgeList text
|
||||
name varchar(100)
|
||||
)");
|
||||
$db->write("create table EMSBadge (
|
||||
assetId varchar(22) binary not null,
|
||||
revisionDate bigint not null,
|
||||
price float not null default 0.00,
|
||||
seatsAvailable int not null default 100,
|
||||
relatedBadgeGroups mediumtext,
|
||||
primary key (assetId, revisionDate)
|
||||
)");
|
||||
$db->write("create table EMSTicket (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue