We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3466970 commit 94f911aCopy full SHA for 94f911a
mysql2sqlite
@@ -183,7 +183,7 @@ aInc == 1 && /PRIMARY KEY|primary key/ { next }
183
# BEGIN
184
# UPDATE Package SET LastUpdate = CURRENT_TIMESTAMP WHERE ActionId = old.ActionId;
185
# END
186
- gsub( /ON UPDATE (CURRENT_TIMESTAMP|current_timestamp)(\(\))?/, "" )
+ gsub( /(ON|on) (UPDATE|update) (CURRENT_TIMESTAMP|current_timestamp)(\(\))?/, "" )
187
gsub( /(DEFAULT|default) (CURRENT_TIMESTAMP|current_timestamp)(\(\))?/, "DEFAULT current_timestamp")
188
gsub( /(COLLATE|collate) [^ ]+ /, "" )
189
gsub( /(ENUM|enum)[^)]+\)/, "text " )
0 commit comments