2014-01-11 06:12:29 -05:00
|
|
|
ActiveRecord::Migration.suppress_messages do
|
2014-05-18 08:21:35 -04:00
|
|
|
%w{gates readers writers transients simples simple_new_dsls no_scopes no_direct_assignments thieves localizer_test_models persisted_states provided_and_persisted_states}.each do |table_name|
|
2014-01-11 06:12:29 -05:00
|
|
|
ActiveRecord::Migration.create_table table_name, :force => true do |t|
|
|
|
|
t.string "aasm_state"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
ActiveRecord::Migration.create_table "validators", :force => true do |t|
|
|
|
|
t.string "name"
|
|
|
|
t.string "status"
|
|
|
|
end
|
|
|
|
|
|
|
|
ActiveRecord::Migration.create_table "transactors", :force => true do |t|
|
|
|
|
t.string "name"
|
|
|
|
t.string "status"
|
|
|
|
t.integer "worker_id"
|
|
|
|
end
|
|
|
|
|
|
|
|
ActiveRecord::Migration.create_table "workers", :force => true do |t|
|
|
|
|
t.string "name"
|
|
|
|
t.string "status"
|
|
|
|
end
|
|
|
|
|
|
|
|
ActiveRecord::Migration.create_table "invalid_persistors", :force => true do |t|
|
|
|
|
t.string "name"
|
|
|
|
t.string "status"
|
|
|
|
end
|
|
|
|
|
|
|
|
ActiveRecord::Migration.create_table "fathers", :force => true do |t|
|
|
|
|
t.string "aasm_state"
|
|
|
|
t.string "type"
|
|
|
|
end
|
|
|
|
end
|