12 lines
257 B
Ruby
12 lines
257 B
Ruby
class CreatePages < ActiveRecord::Migration[7.2]
|
|
def change
|
|
create_table :pages do |t|
|
|
t.integer :position
|
|
t.string :path
|
|
t.string :url
|
|
t.references :report, null: false, foreign_key: true
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|