You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SHOW_FOREIGN_KEYS="SELECT tc.constraint_name , tc.table_name as source_table, kcu.column_name as source_column, ccu.table_name AS target_table, ccu.column_name AS target_column FROM information_schema.table_constraints AS tc JOIN information_schema.key_column_usage AS kcu ON tc.constraint_name = kcu.constraint_name JOIN information_schema.constraint_column_usage AS ccu ON ccu.constraint_name = tc.constraint_name WHERE constraint_type = 'FOREIGN KEY' AND tc.table_name='?';".freeze
108
+
109
+
# -- QUERY PARA VALIDAÇÃO DE CAMPOS
110
+
SHOW_FIELDS="SELECT column_name, is_nullable, character_maximum_length, is_updatable FROM information_schema.columns WHERE table_name = '?';".freeze
0 commit comments