Changes between Initial Version and Version 1 of Ticket #11964, comment 40


Ignore:
Timestamp:
Jan 10, 2019, 5:47:50 AM (6 years ago)
Author:
Balazs Endresz

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11964, comment 40

    initial v1  
    2020BaseDatabaseSchemaEditor.sql_create_check = (
    2121    # 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;'
    2323    'ALTER TABLE %(table)s ADD CONSTRAINT %(name)s CHECK (%(check)s)'
    2424)
Back to Top