Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

A proper seed for #348 ?

  • Loading branch information...
commit bd3bb0663f0b54fc2265b894c248f1f13dee95b5 1 parent 34b674e
@augustf augustf authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  db/seeds.rb
View
3  db/seeds.rb
@@ -24,10 +24,11 @@
Field.find_or_create_by_name({:name => 'Time', :kind => Kind.where(:name => 'Text').first})
#Create an initial group
-Group.find_or_create_by_name(:name => "Concerto Admins")
+Group.find_or_create_by_name(:name => "Concerto Users")
#Create an initial feed
Feed.find_or_create_by_name(:name => "Concerto", :description => "Initial Concerto Feed", :group_id => 1, :is_viewable => 1, :is_submittable => 1, :content_types => {:Graphic=>"1", :Ticker=>"1"})
+Feed.find_or_create_by_name(:name => "Date & Time", :description => "Date & Time", :group_id => 1, :is_viewable => 1, :is_submittable => 0, :content_types => {:ClientTime=>"1"})
#Create an initial template
@template = Template.find_or_create_by_name(:name => "Default Template", :author => "Concerto")
Please sign in to comment.
Something went wrong with that request. Please try again.