diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-03-07 13:15:35 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-03-07 13:15:35 +0100 |
commit | db9dbf03d88cfbd68ce99a242730b9e870339539 (patch) | |
tree | 72947eddcb03f8a6ae6efd79a035bd9e761b4963 /db | |
parent | 3e19646f46c772e10ed3d7a45e8c974ab23f625b (diff) |
Added Switchboard scaffold.
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20130307104654_create_switchboards.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20130307104654_create_switchboards.rb b/db/migrate/20130307104654_create_switchboards.rb new file mode 100644 index 0000000..222b168 --- /dev/null +++ b/db/migrate/20130307104654_create_switchboards.rb @@ -0,0 +1,13 @@ +class CreateSwitchboards < ActiveRecord::Migration + def self.up + create_table :switchboards do |t| + t.string :name + t.integer :user_id + t.timestamps + end + end + + def self.down + drop_table :switchboards + end +end |