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
When you use the SQL Editor to create a table, it does not reflect inside the TUI and you have to restart lazysql to see the changes.
Reproduction
This was tested with SQLite
open lazysql
connect to a database
open SQL Editor and execute CREATE TABLE query
CREATE TABLE test (id integer PRIMARY KEY);
switch back to table list -> new table is not visible
Expectation
It would be nice to 'refresh' the table list after a new table was created, and maybe even add a shortcut for manual refreshing of the table list.
Would it be possible to filter the query-string for 'CREATE' or 'create' and if either one of them is present refresh the table list after the query was executed?
The text was updated successfully, but these errors were encountered:
When you use the
SQL Editor
to create a table, it does not reflect inside the TUI and you have to restart lazysql to see the changes.Reproduction
lazysql
CREATE TABLE
queryCREATE TABLE test (id integer PRIMARY KEY);
Expectation
It would be nice to 'refresh' the table list after a new table was created, and maybe even add a shortcut for manual refreshing of the table list.
Would it be possible to filter the query-string for 'CREATE' or 'create' and if either one of them is present refresh the table list after the query was executed?
The text was updated successfully, but these errors were encountered: