This commit is contained in:
Jan Prochazka
2020-05-16 08:58:16 +02:00
parent 83e3f8b1d8
commit 7d6008a441
5 changed files with 8 additions and 8 deletions

View File

@@ -0,0 +1,7 @@
module.exports = `
select
TABLE_NAME,
case when ENGINE='InnoDB' then CREATE_TIME else coalesce(UPDATE_TIME, CREATE_TIME) end as ALTER_TIME
from information_schema.tables
where TABLE_SCHEMA = '#DATABASE#'
`;