firma bug in table creation was fixed
This commit is contained in:
@@ -168,7 +168,6 @@ fn generate_table_sql(
|
||||
let mut system_columns = vec![
|
||||
"id BIGSERIAL PRIMARY KEY".to_string(),
|
||||
"deleted BOOLEAN NOT NULL DEFAULT FALSE".to_string(),
|
||||
"firma TEXT NOT NULL".to_string(),
|
||||
];
|
||||
|
||||
if let Some(linked) = linked_table {
|
||||
@@ -195,9 +194,7 @@ fn generate_table_sql(
|
||||
all_columns.join(",\n ")
|
||||
);
|
||||
|
||||
let mut system_indexes = vec![
|
||||
format!("CREATE INDEX idx_{}_firma ON \"{}\" (firma)", table_name, table_name),
|
||||
];
|
||||
let mut system_indexes = vec![];
|
||||
|
||||
if let Some(linked) = linked_table {
|
||||
let parts: Vec<&str> = linked.splitn(2, '_').collect();
|
||||
|
||||
Reference in New Issue
Block a user