summaryrefslogtreecommitdiff
path: root/db/migrate/20120127101726_create_system_messages.rb
blob: 830f54afeef09d52774ed31a9279ee94eb30cde3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class CreateSystemMessages < ActiveRecord::Migration
  def self.up
    create_table :system_messages do |t|
      t.integer :user_id
      t.string :content
      t.timestamps
    end
  end

  def self.down
    drop_table :system_messages
  end
end