Sha256: b38eb8cc6511b0781eaa6c0d701ce527bf421835afe3f4c70f499e58d1bd65bc
Contents?: true
Size: 352 Bytes
Versions: 4
Compression:
Stored size: 352 Bytes
Contents
class CreateHistoriesTable < ActiveRecord::Migration def self.up create_table :histories do |t| t.string :message # title, name, or object_id t.string :username t.integer :item t.string :table t.timestamps end add_index(:histories, [:item, :table]) end def self.down drop_table :histories end end
Version data entries
4 entries across 4 versions & 1 rubygems