mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 04:26:01 +00:00
engines moved to separate library
This commit is contained in:
5
lib/engines/mysql/tables.sql
Normal file
5
lib/engines/mysql/tables.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
select
|
||||
TABLE_NAME as pureName,
|
||||
case when ENGINE='InnoDB' then CREATE_TIME else coalesce(UPDATE_TIME, CREATE_TIME) end as alterTime
|
||||
from information_schema.tables
|
||||
where TABLE_SCHEMA = '#DATABASE#' and TABLE_NAME =[OBJECT_NAME_CONDITION];
|
||||
Reference in New Issue
Block a user