Sha256: a67fa5cb58155ece17fc4f04f22adbee54949106fe6f3a114e3ee54dee3ce06c

Contents?: true

Size: 381 Bytes

Versions: 4

Compression:

Stored size: 381 Bytes

Contents

class CreateInboxes < ActiveRecord::Migration
  def self.up
    create_table :inboxes do |t|
      t.string :label
      t.string :object_class
      t.integer :object_id
      t.string :alert_type
      t.string :old_value
      t.string :new_value
      t.text :content
      t.integer :user_id
      t.timestamps
    end
  end

  def self.down
    drop_table :inboxes
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
active_metadata-0.2.2 db/migrate/005_create_inboxes.rb
active_metadata-0.2.1 db/migrate/005_create_inboxes.rb
active_metadata-0.2.0 db/migrate/005_create_inboxes.rb
active_metadata-0.1.9 db/migrate/005_create_inboxes.rb