ibmdb / python-ibmdb-django

IBM DB2 Driver for the Django application Framework
Apache License 2.0
29 stars 42 forks source link

Force organize by row on new tables #102

Closed GuerrettaG closed 4 months ago

GuerrettaG commented 4 months ago

If not specifed, DB2 will attempt to create new table based on the default organize by setting. If it set to column, using ALTER statement won't be possible. This will make even the default django migration fail (see auth.0002_alter_permission_name_max_length). With an explict ORGANIZE BY at the and of the table creation statement we explicitly set the table organization.

see more at