start of iteration 2
This commit is contained in:
parent
9fb87a74ce
commit
729ed13521
75 changed files with 705 additions and 170 deletions
12
db/migrate/20241030230805_create_pages.rb
Normal file
12
db/migrate/20241030230805_create_pages.rb
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue