From 68642c407b7e10987d1abb46f1213c475811b9f0 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 2 Jan 2013 00:40:48 +0100 Subject: [PATCH] Renamed ticket_state.ticket_state_type_id to ticket_state.state_type_id. --- db/seeds.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/db/seeds.rb b/db/seeds.rb index f43578763..33d7d3908 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -1149,12 +1149,12 @@ Ticket::StateType.create( :name => 'closed', :updated_by_id => 1, :created_by_i Ticket::StateType.create( :name => 'merged', :updated_by_id => 1, :created_by_id => 1 ) Ticket::StateType.create( :name => 'removed', :updated_by_id => 1, :created_by_id => 1 ) -Ticket::State.create( :name => 'new', :ticket_state_type_id => Ticket::StateType.where(:name => 'new').first.id, :updated_by_id => 1, :created_by_id => 1 ) -Ticket::State.create( :name => 'open', :ticket_state_type_id => Ticket::StateType.where(:name => 'open').first.id, :updated_by_id => 1, :created_by_id => 1 ) -Ticket::State.create( :name => 'pending', :ticket_state_type_id => Ticket::StateType.where(:name => 'pending reminder').first.id, :updated_by_id => 1, :created_by_id => 1 ) -Ticket::State.create( :name => 'closed', :ticket_state_type_id => Ticket::StateType.where(:name => 'closed').first.id, :updated_by_id => 1, :created_by_id => 1 ) -Ticket::State.create( :name => 'merged', :ticket_state_type_id => Ticket::StateType.where(:name => 'merged').first.id, :updated_by_id => 1, :created_by_id => 1 ) -Ticket::State.create( :name => 'removed', :ticket_state_type_id => Ticket::StateType.where(:name => 'removed').first.id, :updated_by_id => 1, :created_by_id => 1 ) +Ticket::State.create( :name => 'new', :state_type_id => Ticket::StateType.where(:name => 'new').first.id, :updated_by_id => 1, :created_by_id => 1 ) +Ticket::State.create( :name => 'open', :state_type_id => Ticket::StateType.where(:name => 'open').first.id, :updated_by_id => 1, :created_by_id => 1 ) +Ticket::State.create( :name => 'pending', :state_type_id => Ticket::StateType.where(:name => 'pending reminder').first.id, :updated_by_id => 1, :created_by_id => 1 ) +Ticket::State.create( :name => 'closed', :state_type_id => Ticket::StateType.where(:name => 'closed').first.id, :updated_by_id => 1, :created_by_id => 1 ) +Ticket::State.create( :name => 'merged', :state_type_id => Ticket::StateType.where(:name => 'merged').first.id, :updated_by_id => 1, :created_by_id => 1 ) +Ticket::State.create( :name => 'removed', :state_type_id => Ticket::StateType.where(:name => 'removed').first.id, :updated_by_id => 1, :created_by_id => 1 ) Ticket::Priority.create( :name => '1 low', :updated_by_id => 1, :created_by_id => 1 ) Ticket::Priority.create( :name => '2 normal', :updated_by_id => 1, :created_by_id => 1 )