blob: 2bf086b3e30fcfdaea571ee6b22e8c241ece4359 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
class CreateRedirectRoutes < ActiveRecord::Migration
# Set this constant to true if this migration requires downtime.
DOWNTIME = false
def change
create_table :redirect_routes do |t|
t.integer :source_id, null: false
t.string :source_type, null: false
t.string :path, null: false
t.timestamps null: false
end
end
end
|