Gisle Aune
3 years ago
11 changed files with 164 additions and 12 deletions
-
16api/task.go
-
16database/postgres/tasks.go
-
11migrations/postgres/20211204105833_add_project_column_task_sort_fields.sql
-
20models/project.go
-
88models/task.go
-
4services/loader.go
-
5svelte-ui/src/clients/stufflog.ts
-
4svelte-ui/src/components/ProjectEntry.svelte
-
6svelte-ui/src/components/TaskList.svelte
-
1svelte-ui/src/models/task.ts
-
5svelte-ui/src/pages/FrontPage.svelte
@ -0,0 +1,11 @@ |
|||||
|
-- +goose Up |
||||
|
-- +goose StatementBegin |
||||
|
ALTER TABLE project |
||||
|
ADD COLUMN task_sort_fields TEXT[] DEFAULT ARRAY[]::TEXT[]; |
||||
|
-- +goose StatementEnd |
||||
|
|
||||
|
-- +goose Down |
||||
|
-- +goose StatementBegin |
||||
|
ALTER TABLE project |
||||
|
DROP COLUMN task_sort_fields; |
||||
|
-- +goose StatementEnd |
Write
Preview
Loading…
Cancel
Save
Reference in new issue