summaryrefslogtreecommitdiff
path: root/db/migrate/20130403200754_add_reload_timer_to_switchboard.rb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-04-03 22:08:19 +0200
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-04-03 22:09:33 +0200
commitcea2cc3c1cc1e48fc4600c698d52dfda2bde4505 (patch)
treee216a9634c31047e8908a882aed9ff2545ed99e6 /db/migrate/20130403200754_add_reload_timer_to_switchboard.rb
parent64653a9149eca977c16233abb0a472730b94a464 (diff)
Massive changes to the switchboard.
Diffstat (limited to 'db/migrate/20130403200754_add_reload_timer_to_switchboard.rb')
-rw-r--r--db/migrate/20130403200754_add_reload_timer_to_switchboard.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20130403200754_add_reload_timer_to_switchboard.rb b/db/migrate/20130403200754_add_reload_timer_to_switchboard.rb
new file mode 100644
index 0000000..8689c5f
--- /dev/null
+++ b/db/migrate/20130403200754_add_reload_timer_to_switchboard.rb
@@ -0,0 +1,7 @@
+class AddReloadTimerToSwitchboard < ActiveRecord::Migration
+ def change
+ add_column :switchboards, :reload_interval, :integer
+ add_column :switchboards, :show_avatars, :boolean
+ add_column :switchboards, :entry_width, :integer
+ end
+end