Sha256: e989617c34ef832a33ab9061854906e7da0f2701210ebd72d4db88951f0f7111
Contents?: true
Size: 399 Bytes
Versions: 3
Compression:
Stored size: 399 Bytes
Contents
class CreateBrowsingHistories < ActiveRecord::Migration # Create table def up create_table :browsing_histories do |t| t.references :browser, polymorphic: true, index: true t.references :historizable, polymorphic: true, index: true t.text :object, null: false t.timestamps null: false end end # Drop table def down end end
Version data entries
3 entries across 3 versions & 1 rubygems