blob: 57b79a0267fd35b9c92f39ccad784b8cb19a6ea7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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
|