2014-01-11 12:12:29 +01:00
|
|
|
ActiveRecord::Migration.suppress_messages do
|
2015-07-01 23:41:44 +12:00
|
|
|
%w{gates multiple_gates readers writers transients simples no_scopes multiple_no_scopes no_direct_assignments multiple_no_direct_assignments thieves multiple_thieves localizer_test_models persisted_states provided_and_persisted_states with_enums with_true_enums with_false_enums false_states multiple_with_enums multiple_with_true_enums multiple_with_false_enums multiple_false_states}.each do |table_name|
|
2014-01-11 12:12:29 +01:00
|
|
|
ActiveRecord::Migration.create_table table_name, :force => true do |t|
|
|
|
|
t.string "aasm_state"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2014-12-05 00:07:38 +01:00
|
|
|
ActiveRecord::Migration.create_table "simple_new_dsls", :force => true do |t|
|
|
|
|
t.string "status"
|
|
|
|
end
|
2015-07-01 23:41:44 +12:00
|
|
|
ActiveRecord::Migration.create_table "multiple_simple_new_dsls", :force => true do |t|
|
|
|
|
t.string "status"
|
|
|
|
end
|
2014-12-05 00:07:38 +01:00
|
|
|
|
2015-07-10 22:47:04 +12:00
|
|
|
ActiveRecord::Migration.create_table "complex_active_record_examples", :force => true do |t|
|
|
|
|
t.string "left"
|
|
|
|
t.string "right"
|
|
|
|
end
|
|
|
|
|
2014-01-11 12:12:29 +01:00
|
|
|
ActiveRecord::Migration.create_table "validators", :force => true do |t|
|
|
|
|
t.string "name"
|
|
|
|
t.string "status"
|
|
|
|
end
|
2015-07-01 23:41:44 +12:00
|
|
|
ActiveRecord::Migration.create_table "multiple_validators", :force => true do |t|
|
|
|
|
t.string "name"
|
|
|
|
t.string "status"
|
|
|
|
end
|
2014-01-11 12:12:29 +01:00
|
|
|
|
|
|
|
ActiveRecord::Migration.create_table "transactors", :force => true do |t|
|
|
|
|
t.string "name"
|
|
|
|
t.string "status"
|
|
|
|
t.integer "worker_id"
|
|
|
|
end
|
2015-07-01 23:41:44 +12:00
|
|
|
ActiveRecord::Migration.create_table "multiple_transactors", :force => true do |t|
|
|
|
|
t.string "name"
|
|
|
|
t.string "status"
|
|
|
|
t.integer "worker_id"
|
|
|
|
end
|
2014-01-11 12:12:29 +01:00
|
|
|
|
|
|
|
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
|
2015-07-01 23:41:44 +12:00
|
|
|
ActiveRecord::Migration.create_table "multiple_invalid_persistors", :force => true do |t|
|
|
|
|
t.string "name"
|
|
|
|
t.string "status"
|
|
|
|
end
|
2014-01-11 12:12:29 +01:00
|
|
|
|
|
|
|
ActiveRecord::Migration.create_table "fathers", :force => true do |t|
|
|
|
|
t.string "aasm_state"
|
|
|
|
t.string "type"
|
|
|
|
end
|
2015-07-20 20:55:47 +12:00
|
|
|
|
|
|
|
ActiveRecord::Migration.create_table "basic_active_record_two_state_machines_examples", :force => true do |t|
|
|
|
|
t.string "search"
|
|
|
|
t.string "sync"
|
|
|
|
end
|
2014-01-11 12:12:29 +01:00
|
|
|
end
|