Make NewsletterCollection subscribable.

This commit is contained in:
Martin Kamerbeek 2010-04-22 14:56:19 +02:00
parent cfa018e04b
commit 0fa97d2d9d
3 changed files with 157 additions and 7 deletions

View file

@ -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";
}
#----------------------------------------------------------------------------