renamed again and fixed some minor stuff

This commit is contained in:
filipriec
2025-07-25 18:18:00 +02:00
parent 7437908baf
commit 8127c7bb1b
98 changed files with 306 additions and 296 deletions

View File

@@ -6,7 +6,7 @@ Creation of the tables:
{"name": "yearly_goal", "field_type": "text"}
],
"profile_name": "finance"
}' localhost:50051 KompAC.table_definition.TableDefinition/PostTableDefinition
}' localhost:50051 komp_ac.table_definition.TableDefinition/PostTableDefinition
{
"success": true,
"sql": "CREATE TABLE \"2025_department\" (\n id BIGSERIAL PRIMARY KEY,\n deleted BOOLEAN NOT NULL DEFAULT FALSE,\n \"yearly_goal\" TEXT,\n created_at TIMESTAMPTZ DEFAULT CURRENT_TIMESTAMP\n)\n"
@@ -22,7 +22,7 @@ Creation of the tables:
"links": [
{"linked_table_name": "2025_department", "required": true}
]
}' localhost:50051 KompAC.table_definition.TableDefinition/PostTableDefinition
}' localhost:50051 komp_ac.table_definition.TableDefinition/PostTableDefinition
{
"success": true,
"sql": "CREATE TABLE \"2025_project\" (\n id BIGSERIAL PRIMARY KEY,\n deleted BOOLEAN NOT NULL DEFAULT FALSE,\n \"department_id\" BIGINT NOT NULL REFERENCES \"2025_department\"(id),\n \"name\" TEXT,\n \"budget_estimate\" TEXT,\n created_at TIMESTAMPTZ DEFAULT CURRENT_TIMESTAMP\n)\nCREATE INDEX idx_2025_project_department_fk ON \"2025_project\" (\"department_id\")\nCREATE INDEX idx_2025_project_name ON \"2025_project\" (\"name\")"