New structure (#7)
This commit is contained in:
18
pkg/models/fixtures/list.yml
Normal file
18
pkg/models/fixtures/list.yml
Normal file
@ -0,0 +1,18 @@
|
||||
-
|
||||
id: 1
|
||||
title: Test1
|
||||
description: Lorem Ipsum
|
||||
owner_id: 1
|
||||
namespace_id: 1
|
||||
-
|
||||
id: 2
|
||||
title: Test2
|
||||
description: Lorem Ipsum
|
||||
owner_id: 3
|
||||
namespace_id: 1
|
||||
-
|
||||
id: 3
|
||||
title: Test3
|
||||
description: Lorem Ipsum
|
||||
owner_id: 3
|
||||
namespace_id: 2
|
10
pkg/models/fixtures/namespaces.yml
Normal file
10
pkg/models/fixtures/namespaces.yml
Normal file
@ -0,0 +1,10 @@
|
||||
-
|
||||
id: 1
|
||||
name: testnamespace
|
||||
description: Lorem Ipsum
|
||||
owner_id: 1
|
||||
-
|
||||
id: 2
|
||||
name: testnamespace2
|
||||
description: Lorem Ipsum
|
||||
owner_id: 2
|
7
pkg/models/fixtures/team_members.yml
Normal file
7
pkg/models/fixtures/team_members.yml
Normal file
@ -0,0 +1,7 @@
|
||||
-
|
||||
team_id: 1
|
||||
user_id: 1
|
||||
admin: true
|
||||
-
|
||||
team_id: 1
|
||||
user_id: 2
|
5
pkg/models/fixtures/teams.yml
Normal file
5
pkg/models/fixtures/teams.yml
Normal file
@ -0,0 +1,5 @@
|
||||
-
|
||||
id: 1
|
||||
name: testteam1
|
||||
description: Lorem Ipsum
|
||||
created_by_id: 1
|
15
pkg/models/fixtures/users.yml
Normal file
15
pkg/models/fixtures/users.yml
Normal file
@ -0,0 +1,15 @@
|
||||
-
|
||||
id: 1
|
||||
username: 'user1'
|
||||
password: '1234'
|
||||
email: 'johndoe@example.com'
|
||||
-
|
||||
id: 2
|
||||
username: 'user2'
|
||||
password: '1234'
|
||||
email: 'johndoe@example.com'
|
||||
-
|
||||
id: 3
|
||||
username: 'user3'
|
||||
password: '1234'
|
||||
email: 'johndoe@example.com'
|
Reference in New Issue
Block a user