Sha256: c8521cf68319896480bf1c4554e6475eae3c677ea6a62c616d8bfe2348442a34
Contents?: true
Size: 443 Bytes
Versions: 5
Compression:
Stored size: 443 Bytes
Contents
class CreateTimefulActivities < ActiveRecord::Migration[5.0] def change create_table :timeful_activities do |t| t.string :type, null: false t.string :object_type, null: false t.integer :object_id, null: false t.string :actor_type, null: false t.integer :actor_id, null: false t.timestamps null: false t.index [:object_type, :object_id] t.index [:actor_type, :actor_id] end end end
Version data entries
5 entries across 5 versions & 1 rubygems