##// END OF EJS Templates
alert_channels: it should also be a pkey
ergo -
Show More
@@ -19,10 +19,12 b' def upgrade():'
19 'channels_resources',
19 'channels_resources',
20 sa.Column('channel_pkey', sa.Integer,
20 sa.Column('channel_pkey', sa.Integer,
21 sa.ForeignKey('alert_channels.pkey',
21 sa.ForeignKey('alert_channels.pkey',
22 ondelete='CASCADE', onupdate='CASCADE')),
note

asdfsdafs

22 ondelete='CASCADE', onupdate='CASCADE'),
23 primary_key=True),
23 sa.Column('resource_id', sa.Integer,
24 sa.Column('resource_id', sa.Integer,
24 sa.ForeignKey('resources.resource_id',
25 sa.ForeignKey('resources.resource_id',
25 ondelete='CASCADE', onupdate='CASCADE'))
26 ondelete='CASCADE', onupdate='CASCADE'),
27 primary_key=True)
26 )
28 )
27
29
28
30
General Comments 2
Under Review
author

Auto status change to "Under Review"

Rejected

Please use: https://github.com/Appenlight/appenlight to contribute :) Thanks !

You need to be logged in to leave comments. Login now