From f58503171707eb0cbed6fa7361b1a07aba106a8c Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 20 Oct 2015 13:54:29 +0200 Subject: [PATCH] Fixed initial setups. --- db/seeds.rb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/db/seeds.rb b/db/seeds.rb index 6bf34ec19..8824661ea 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -1487,6 +1487,13 @@ Role.create_if_not_exists( updated_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( id: 1, @@ -1862,6 +1869,14 @@ Channel.create_if_not_exists( 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( id: 1, name: 'base',