Sha256: 5b91fabd4c3a19ce49ecffd4afdfdd49b49fe3da2d50ff060e54a6cbe58b5ff8
Contents?: true
Size: 549 Bytes
Versions: 16
Compression:
Stored size: 549 Bytes
Contents
class AddActivity < ActiveRecord::Migration def change create_table :core_activities do |t| t.integer :account_id t.references :user t.string :browser t.string :session_id t.string :ip_address t.string :controller t.string :action t.string :params t.string :slug t.string :lesson t.datetime :created_at end add_index :core_activities, :account_id add_index :core_activities, :user_id end end
Version data entries
16 entries across 16 versions & 1 rubygems