Made get_table_list return a TableInfo named tuple
Prevented sql_flush to flush views
Use table_names instead of get_table_list in migrations