Changes between Initial Version and Version 1 of Ticket #11964, comment 40
- Timestamp:
- Jan 10, 2019, 5:47:50 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11964, comment 40
initial v1 20 20 BaseDatabaseSchemaEditor.sql_create_check = ( 21 21 # need to drop the check first, otherwise it can't be modified: 22 'ALTER TABLE %(table)s DROP CONSTRAINT IF EXISTS %(name)s '22 'ALTER TABLE %(table)s DROP CONSTRAINT IF EXISTS %(name)s;' 23 23 'ALTER TABLE %(table)s ADD CONSTRAINT %(name)s CHECK (%(check)s)' 24 24 )