[CLI] fixup - generate entity file for all tables by default (#1251)
This commit is contained in:
parent
b0979072ae
commit
d32e1eb058
@ -57,7 +57,8 @@ pub async fn run_generate_command(
|
||||
let is_sqlite = url.scheme() == "sqlite";
|
||||
|
||||
// Closures for filtering tables
|
||||
let filter_tables = |table: &String| -> bool { tables.contains(table) };
|
||||
let filter_tables =
|
||||
|table: &String| -> bool { tables.is_empty() || tables.contains(table) };
|
||||
|
||||
let filter_hidden_tables = |table: &str| -> bool {
|
||||
if include_hidden_tables {
|
||||
|
Loading…
x
Reference in New Issue
Block a user