summaryrefslogtreecommitdiff
path: root/db/migrate/20120611093946_create_gs_nodes.rb
blob: 4aa167db1b52022de3a3ff99ba1a7410443d367b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class CreateGsNodes < ActiveRecord::Migration
  def self.up
    create_table :gs_nodes do |t|
      t.string :name
      t.string :ip_address
      t.boolean :push_updates
      t.timestamps
    end
  end

  def self.down
    drop_table :gs_nodes
  end
end