diff options
-rw-r--r-- | db/migrate/20130117191840_change_column_name_in_call_route.rb | 9 | ||||
-rw-r--r-- | db/schema.rb | 4 |
2 files changed, 11 insertions, 2 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 diff --git a/db/schema.rb b/db/schema.rb index 8416305..31fdaf7 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20130116213312) do +ActiveRecord::Schema.define(:version => 20130117191840) do create_table "access_authorizations", :force => true do |t| t.string "access_authorizationable_type" @@ -177,7 +177,7 @@ ActiveRecord::Schema.define(:version => 20130116213312) do end create_table "call_routes", :force => true do |t| - t.string "table" + t.string "routing_table" t.string "name" t.string "endpoint_type" t.integer "endpoint_id" |