mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 17:44:07 +02:00
Selectable ON UPDATE CURRENT_TIMESTAMP field in create table
This commit is contained in:
@@ -365,6 +365,9 @@ function editingTypeChange(type) {
|
||||
if (el.name == name + '[unsigned]') {
|
||||
el.className = (/(int|float|double|decimal)$/.test(text) ? '' : 'hidden');
|
||||
}
|
||||
if (el.name == name + '[on_update]') {
|
||||
el.className = (text == 'timestamp' ? '' : 'hidden');
|
||||
}
|
||||
if (el.name == name + '[on_delete]') {
|
||||
el.className = (/`/.test(text) ? '' : 'hidden');
|
||||
}
|
||||
|
Reference in New Issue
Block a user