2014-01-11 06:12:29 -05:00
|
|
|
ActiveRecord::Migration.suppress_messages do
|
2015-10-03 17:50:33 -04: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_enum_without_columns multiple_with_enum_without_columns with_true_enums with_false_enums false_states multiple_with_enums multiple_with_true_enums multiple_with_false_enums multiple_false_states readme_jobs}.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
|
|
|
|
|
2021-03-24 22:50:33 -04:00
|
|
|
%w(simple_new_dsls multiple_simple_new_dsls implemented_abstract_class_dsls users multiple_namespaceds).each do |table_name|
|
|
|
|
ActiveRecord::Migration.create_table table_name, :force => true do |t|
|
|
|
|
t.string "status"
|
|
|
|
end
|
2019-04-21 05:43:51 -04:00
|
|
|
end
|
2014-12-04 18:07:38 -05:00
|
|
|
|
2015-07-10 06:47:04 -04:00
|
|
|
ActiveRecord::Migration.create_table "complex_active_record_examples", :force => true do |t|
|
|
|
|
t.string "left"
|
|
|
|
t.string "right"
|
|
|
|
end
|
|
|
|
|
2018-11-15 03:53:49 -05:00
|
|
|
ActiveRecord::Migration.create_table "works", :force => true do |t|
|
2018-11-15 02:02:51 -05:00
|
|
|
t.string "status"
|
2018-11-01 08:29:35 -04:00
|
|
|
end
|
|
|
|
|
2020-06-19 06:49:55 -04:00
|
|
|
%w(validators multiple_validators workers invalid_persistors multiple_invalid_persistors silent_persistors multiple_silent_persistors active_record_callbacks).each do |table_name|
|
2015-11-06 12:28:12 -05:00
|
|
|
ActiveRecord::Migration.create_table table_name, :force => true do |t|
|
|
|
|
t.string "name"
|
|
|
|
t.string "status"
|
|
|
|
end
|
2015-07-01 07:41:44 -04:00
|
|
|
end
|
2014-01-11 06:12:29 -05:00
|
|
|
|
2017-05-30 17:22:38 -04:00
|
|
|
%w(transactors no_lock_transactors lock_transactors lock_no_wait_transactors no_transactors multiple_transactors).each do |table_name|
|
2015-11-06 12:28:12 -05:00
|
|
|
ActiveRecord::Migration.create_table table_name, :force => true do |t|
|
|
|
|
t.string "name"
|
|
|
|
t.string "status"
|
|
|
|
t.integer "worker_id"
|
|
|
|
end
|
2015-07-01 07:41:44 -04:00
|
|
|
end
|
2014-01-11 06:12:29 -05:00
|
|
|
|
|
|
|
ActiveRecord::Migration.create_table "fathers", :force => true do |t|
|
|
|
|
t.string "aasm_state"
|
|
|
|
t.string "type"
|
|
|
|
end
|
2015-07-20 04:55:47 -04:00
|
|
|
|
|
|
|
ActiveRecord::Migration.create_table "basic_active_record_two_state_machines_examples", :force => true do |t|
|
|
|
|
t.string "search"
|
|
|
|
t.string "sync"
|
|
|
|
end
|
2019-07-30 08:31:01 -04:00
|
|
|
|
|
|
|
ActiveRecord::Migration.create_table "instance_level_skip_validation_examples", :force => true do |t|
|
|
|
|
t.string "state"
|
|
|
|
t.string "some_string"
|
|
|
|
end
|
2020-04-23 15:44:52 -04:00
|
|
|
|
|
|
|
ActiveRecord::Migration.create_table "timestamp_examples", :force => true do |t|
|
|
|
|
t.string "aasm_state"
|
|
|
|
t.datetime "opened_at"
|
|
|
|
end
|
2014-01-11 06:12:29 -05:00
|
|
|
end
|