diff options
Diffstat (limited to 'db/migrate/20120611093946_create_gs_nodes.rb')
-rw-r--r-- | db/migrate/20120611093946_create_gs_nodes.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/db/migrate/20120611093946_create_gs_nodes.rb b/db/migrate/20120611093946_create_gs_nodes.rb new file mode 100644 index 0000000..4aa167d --- /dev/null +++ b/db/migrate/20120611093946_create_gs_nodes.rb @@ -0,0 +1,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 |