You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
283 B
14 lines
283 B
class CreateVersions < ActiveRecord::Migration
|
|
def change
|
|
create_table :versions do |t|
|
|
t.string :item_type
|
|
t.integer :item_id
|
|
t.string :event
|
|
t.string :whodunnit
|
|
t.text :object
|
|
t.datetime :created_at
|
|
|
|
# t.timestamps
|
|
end
|
|
end
|
|
end
|
|
|