Consider altering a column as backward incompatible
* Resolves #9 * With test * For mysql only currently
This commit is contained in:
1 parent
7007e788be
commit
e4880c5600
18 files changed
+260
-10
No files matched your search
@@ -50,6 +50,10 @@ migration_tests = (
|
||||
'fn': lambda sql, **kw: re.search('RENAME TABLE', sql) or
|
||||
re.search('ALTER TABLE .* RENAME TO', sql),
|
||||
'err_msg': 'RENAMING tables'
|
||||
}, {
|
||||
'code': 'ALTER_COLUMN',
|
||||
'fn': lambda sql, **kw: re.search('ALTER TABLE .* MODIFY', sql),
|
||||
'err_msg': 'ALTERING columns'
|
||||
}, {
|
||||
'code': '',
|
||||
'fn': has_default,
|
||||
|
||||
Reference in new issue
Block a user