Fixed initial setups.
This commit is contained in:
parent
228d6dd001
commit
f585031717
1 changed files with 15 additions and 0 deletions
15
db/seeds.rb
15
db/seeds.rb
|
@ -1487,6 +1487,13 @@ Role.create_if_not_exists(
|
||||||
updated_by_id: 1,
|
updated_by_id: 1,
|
||||||
created_by_id: 1
|
created_by_id: 1
|
||||||
)
|
)
|
||||||
|
Role.create_if_not_exists(
|
||||||
|
id: 4,
|
||||||
|
name: 'Report',
|
||||||
|
note: 'Access the report area.',
|
||||||
|
created_by_id: 1,
|
||||||
|
updated_by_id: 1,
|
||||||
|
)
|
||||||
|
|
||||||
Group.create_if_not_exists(
|
Group.create_if_not_exists(
|
||||||
id: 1,
|
id: 1,
|
||||||
|
@ -1862,6 +1869,14 @@ Channel.create_if_not_exists(
|
||||||
active: true,
|
active: true,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Report::Profile.create_if_not_exists(
|
||||||
|
name: '-all-',
|
||||||
|
condition: {},
|
||||||
|
active: true,
|
||||||
|
updated_by_id: 1,
|
||||||
|
created_by_id: 1,
|
||||||
|
)
|
||||||
|
|
||||||
network = Network.create_if_not_exists(
|
network = Network.create_if_not_exists(
|
||||||
id: 1,
|
id: 1,
|
||||||
name: 'base',
|
name: 'base',
|
||||||
|
|
Loading…
Reference in a new issue