Sha256: ac23a2ed5fc4d7fd367d4da1b9083c663162bb6fe121fa1476d2ccac95a59062

Contents?: true

Size: 385 Bytes

Versions: 13

Compression:

Stored size: 385 Bytes

Contents

class CreateMyAdminLogs < ActiveRecord::Migration
  def change
    create_table :my_admin_logs do |t|
      t.integer :user_id, :null => false
      t.string :object, :null => false
      t.string :action, :null => false
      t.string :model, :null => false
      t.string :application, :null => false

      t.timestamps
    end
    
    add_index :my_admin_logs, :user_id
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
my_admin-0.1.13 db/migrate/20151128182449_create_my_admin_logs.rb
my_admin-0.1.12 db/migrate/20151128182449_create_my_admin_logs.rb
my_admin-0.1.11 db/migrate/20151128182449_create_my_admin_logs.rb
my_admin-0.1.10 db/migrate/20151128182449_create_my_admin_logs.rb
my_admin-0.1.9 db/migrate/20151128182449_create_my_admin_logs.rb
my_admin-0.1.8 db/migrate/20151128182449_create_my_admin_logs.rb
my_admin-0.1.7 db/migrate/20151128182449_create_my_admin_logs.rb
my_admin-0.1.6 db/migrate/20151128182449_create_my_admin_logs.rb
my_admin-0.1.5 db/migrate/20151128182449_create_my_admin_logs.rb
my_admin-0.1.4 db/migrate/20151128182449_create_my_admin_logs.rb
my_admin-0.1.3 db/migrate/20151128182449_create_my_admin_logs.rb
my_admin-0.1.2 db/migrate/20151128182449_create_my_admin_logs.rb
my_admin-0.1.1 db/migrate/20151128182449_create_my_admin_logs.rb