Make NewsletterCollection subscribable.
This commit is contained in:
parent
cfa018e04b
commit
0fa97d2d9d
3 changed files with 157 additions and 7 deletions
|
|
@ -54,6 +54,14 @@ sub installNewsletterCollection {
|
|||
);
|
||||
EOSQL
|
||||
|
||||
$session->db->write(<<EOSQL2);
|
||||
create table if not exists NewsletterCollection_subscriptions (
|
||||
assetId char(22) binary not null,
|
||||
userId char(22) binary not null,
|
||||
primary key( assetId, userId )
|
||||
);
|
||||
EOSQL2
|
||||
|
||||
print "Done.\n";
|
||||
}
|
||||
#----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue