Added ticket state merged and removed.

This commit is contained in:
Martin Edenhofer 2012-07-03 15:32:26 +02:00
parent 3d1ab793e7
commit 528a12571e

View file

@ -1114,11 +1114,15 @@ Ticket::StateType.create( :name => 'open' )
Ticket::StateType.create( :name => 'pending reminder' )
Ticket::StateType.create( :name => 'pending action' )
Ticket::StateType.create( :name => 'closed' )
Ticket::StateType.create( :name => 'merged' )
Ticket::StateType.create( :name => 'removed' )
Ticket::State.create( :name => 'new', :ticket_state_type_id => Ticket::StateType.where(:name => 'new').first.id )
Ticket::State.create( :name => 'open', :ticket_state_type_id => Ticket::StateType.where(:name => 'open').first.id )
Ticket::State.create( :name => 'pending', :ticket_state_type_id => Ticket::StateType.where(:name => 'pending reminder').first.id )
Ticket::State.create( :name => 'closed', :ticket_state_type_id => Ticket::StateType.where(:name => 'closed').first.id )
Ticket::State.create( :name => 'merged', :ticket_state_type_id => Ticket::StateType.where(:name => 'merged').first.id )
Ticket::State.create( :name => 'removed', :ticket_state_type_id => Ticket::StateType.where(:name => 'removed').first.id )
Ticket::Priority.create( :name => '1 low' )
Ticket::Priority.create( :name => '2 normal' )