Sha256: 75af5736fd454604c0a9ea567df50696c870d3c7ea0c11f58e225bcefd2c2de6
Contents?: true
Size: 439 Bytes
Versions: 11
Compression:
Stored size: 439 Bytes
Contents
class CreateMyAdminLogs < ActiveRecord::Migration def self.up 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 def self.down drop_table :my_admin_logs end end
Version data entries
11 entries across 11 versions & 1 rubygems