Convert subscriptions to use groups instead of homebrew table.

This commit is contained in:
Martin Kamerbeek 2010-05-21 13:39:15 +02:00
parent 22c900047f
commit c10bac9bfc
3 changed files with 117 additions and 37 deletions

View file

@ -56,8 +56,10 @@ sub installSubscriberAspectTable {
create table if not exists assetAspectSubscriber (
assetId char(22) binary not null,
revisionDate bigint(20) not null,
subscriptionGroupId char(22) binary,
subscriptionEnabled tinyint(1) not null default 0,
alwaysConfirmSubscription tinyint(1) not null default 0,
allowAnonymousSubscription tinyint(1) not null default 0,
primary key( assetId, revisionDate )
);
EOSQL