Add labels to tasks (#45)
This commit is contained in:
3
pkg/models/fixtures/label_task.yml
Normal file
3
pkg/models/fixtures/label_task.yml
Normal file
@ -0,0 +1,3 @@
|
||||
- id: 1
|
||||
task_id: 1
|
||||
label_id: 4
|
12
pkg/models/fixtures/labels.yml
Normal file
12
pkg/models/fixtures/labels.yml
Normal file
@ -0,0 +1,12 @@
|
||||
- id: 1
|
||||
title: 'Label #1'
|
||||
created_by_id: 1
|
||||
- id: 2
|
||||
title: 'Label #2'
|
||||
created_by_id: 1
|
||||
- id: 3
|
||||
title: 'Label #3 - other user'
|
||||
created_by_id: 2
|
||||
- id: 4
|
||||
title: 'Label #4 - visible via other task'
|
||||
created_by_id: 2
|
@ -21,4 +21,10 @@
|
||||
title: Test4
|
||||
description: Lorem Ipsum
|
||||
owner_id: 3
|
||||
namespace_id: 3
|
||||
namespace_id: 3
|
||||
-
|
||||
id: 5
|
||||
title: Test5
|
||||
description: Lorem Ipsum
|
||||
owner_id: 5
|
||||
namespace_id: 5
|
@ -84,4 +84,10 @@
|
||||
created_by_id: 1
|
||||
list_id: 2
|
||||
created: 1543626724
|
||||
updated: 1543626724
|
||||
- id: 14
|
||||
text: 'task #14 basic other list'
|
||||
created_by_id: 5
|
||||
list_id: 5
|
||||
created: 1543626724
|
||||
updated: 1543626724
|
Reference in New Issue
Block a user