vikunja-api/pkg/db/fixtures/task_comments.yml
konrad 08205008e7 Migrate all timestamps to real iso dates (#594)
Fix query param name

Add option to include null results when filtering

Always set db time to gmt

Fix null filter

Fix timezone setting for todoist parsing

Fix timezone setting for wunderlist parsing

Fix import

Fix caldav reminder parsing

Use timezone from config

Add error and test for invalid filter values

Fix integration tests

Remove task collection date hack

Fix task filter

Fix lint

Fix tests and fixtures for date timezone stuff

Properly set timezone

Change fixtures time zone to gmt

Set db timezone

Set created and updated timestamps for all fixtures

Fix lint

Fix test fixtures

Fix misspell

Fix test fixtures

Partially fix tests

Remove timeutil package

Remove adding _unix suffix hack

Remove _unix suffix

Move all timeutil.TimeStamp to time.Time

Remove all Unix suffixes in field names

Add better error messages when running migrations

Make sure to not migrate 0 unix timestamps to 1970 iso dates

Add migration script for sqlite

Add converting sqlite values

Convert 0 unix timestamps to null in postgres

Convert 0 to null in timestamps

Automatically rename _unix suffix

Add all tables and columns for migration

Fix sql migration query for mysql

Fail with an error if trying to use an unsupported dbms

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/594
2020-06-27 17:04:01 +00:00

96 lines
1.9 KiB
YAML

- id: 1
comment: Lorem Ipsum Dolor Sit Amet
author_id: 1
task_id: 1
created: 2020-02-19 18:07:06
updated: 2020-02-19 18:07:06
- id: 2
comment: comment 2
author_id: 5
task_id: 14
created: 2020-02-19 18:07:06
updated: 2020-02-19 18:07:06
- id: 3
comment: comment 3
author_id: 5
task_id: 15
created: 2020-02-19 18:07:06
updated: 2020-02-19 18:07:06
- id: 4
comment: comment 4
author_id: 6
task_id: 16
created: 2020-02-19 18:07:06
updated: 2020-02-19 18:07:06
- id: 5
comment: comment 5
author_id: 6
task_id: 17
created: 2020-02-19 18:07:06
updated: 2020-02-19 18:07:06
- id: 6
comment: comment 6
author_id: 6
task_id: 18
created: 2020-02-19 18:07:06
updated: 2020-02-19 18:07:06
- id: 7
comment: comment 7
author_id: 6
task_id: 19
created: 2020-02-19 18:07:06
updated: 2020-02-19 18:07:06
- id: 8
comment: comment 8
author_id: 6
task_id: 20
created: 2020-02-19 18:07:06
updated: 2020-02-19 18:07:06
- id: 9
comment: comment 9
author_id: 6
task_id: 21
created: 2020-02-19 18:07:06
updated: 2020-02-19 18:07:06
- id: 10
comment: comment 10
author_id: 6
task_id: 22
created: 2020-02-19 18:07:06
updated: 2020-02-19 18:07:06
- id: 11
comment: comment 11
author_id: 6
task_id: 23
created: 2020-02-19 18:07:06
updated: 2020-02-19 18:07:06
- id: 12
comment: comment 12
author_id: 6
task_id: 24
created: 2020-02-19 18:07:06
updated: 2020-02-19 18:07:06
- id: 13
comment: comment 13
author_id: 6
task_id: 25
created: 2020-02-19 18:07:06
updated: 2020-02-19 18:07:06
- id: 14
comment: comment 14
author_id: 6
task_id: 26
created: 2020-02-19 18:07:06
updated: 2020-02-19 18:07:06
- id: 15
comment: comment 15
author_id: 1
task_id: 35
created: 2020-02-19 18:07:06
updated: 2020-02-19 18:07:06
- id: 16
comment: comment 16
author_id: 1
task_id: 36
created: 2020-02-19 18:07:06
updated: 2020-02-19 18:07:06