Add crussell_test database creation and schema seeding to dev script
- Create crussell_test database after PostgreSQL reset - Seed test DB schema from init-script.sql so tests can run - This fixes the TLS connection errors in test runs Also: - Fixed color variables in script (C_RESET, C_GREEN, etc.)
This commit is contained in:
@@ -132,6 +132,8 @@ func TruncateTables(t *testing.T, pool *pgxpool.Pool) {
|
||||
"exceptional_working_hours",
|
||||
"exceptional_working_hours_groups",
|
||||
"users",
|
||||
"images",
|
||||
"tags",
|
||||
}
|
||||
|
||||
for _, table := range tables {
|
||||
|
||||
Reference in New Issue
Block a user