Gisle Aune
4 years ago
8 changed files with 122 additions and 21 deletions
-
8database/postgres/goals.go
-
13migrations/postgres/20210119211214_add_goal_columns_filters.sql
-
46models/goal.go
-
26services/loader.go
-
19svelte-ui/src/components/Composition.svelte
-
14svelte-ui/src/forms/GoalForm.svelte
-
15svelte-ui/src/models/goal.ts
-
2svelte-ui/src/models/log.ts
@ -0,0 +1,13 @@ |
|||
-- +goose Up |
|||
-- +goose StatementBegin |
|||
ALTER TABLE goal |
|||
ADD COLUMN task_filter TEXT DEFAULT NULL, |
|||
ADD COLUMN item_filter TEXT DEFAULT NULL; |
|||
-- +goose StatementEnd |
|||
|
|||
-- +goose Down |
|||
-- +goose StatementBegin |
|||
ALTER TABLE goal |
|||
DROP COLUMN task_filter, |
|||
DROP COLUMN item_filter; |
|||
-- +goose StatementEnd |
Write
Preview
Loading…
Cancel
Save
Reference in new issue