mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
19 lines
467 B
Ruby
19 lines
467 B
Ruby
ActiveRecord::Schema.define(:version => 0) do
|
|
|
|
%w{gates readers writers transients simples simple_new_dsls thieves localizer_test_models}.each do |table_name|
|
|
create_table table_name, :force => true do |t|
|
|
t.string "aasm_state"
|
|
end
|
|
end
|
|
|
|
create_table "validators", :force => true do |t|
|
|
t.string "name"
|
|
t.string "status"
|
|
end
|
|
|
|
create_table "invalid_persistors", :force => true do |t|
|
|
t.string "name"
|
|
t.string "status"
|
|
end
|
|
|
|
end
|