Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add backend support for event groups/roles #3057

Merged
merged 4 commits into from Sep 15, 2017

Conversation

ThiefMaster
Copy link
Member

No description provided.

['event_group_id'], ['id'],
source_schema='events', referent_schema='events')
op.execute('''
ALTER TABLE attachments.attachment_principals DROP CONSTRAINT ck_attachment_principals_valid_enum_type;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In case someone wonders why I'm using raw SQL here: It is much less ugly than writing alembic/sqlalchemy statements for it, especially since the CHECK constraint updates are not autogenerated (so like this the dbdiff output can be copied almost as-is, only thing I changed was removing the SET search_path stuff in favor of explicit schemas in table names)

@ThiefMaster ThiefMaster merged commit 0f030a2 into indico:v2.1-dev Sep 15, 2017
@ThiefMaster ThiefMaster deleted the event-groups branch September 15, 2017 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant