summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20130117191840_change_column_name_in_call_route.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20130117191840_change_column_name_in_call_route.rb b/db/migrate/20130117191840_change_column_name_in_call_route.rb
new file mode 100644
index 0000000..cad0f59
--- /dev/null
+++ b/db/migrate/20130117191840_change_column_name_in_call_route.rb
@@ -0,0 +1,9 @@
+class ChangeColumnNameInCallRoute < ActiveRecord::Migration
+ def up
+ rename_column :call_routes, :table, :routing_table
+ end
+
+ def down
+ rename_column :call_routes, :routing_table, :table
+ end
+end