Generate initial models
This commit is contained in:
commit
3e1e5618ca
89 changed files with 2706 additions and 0 deletions
10
db/migrate/20250426173422_create_sections.rb
Normal file
10
db/migrate/20250426173422_create_sections.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
class CreateSections < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
create_table :sections do |t|
|
||||
t.text :title, null: false
|
||||
t.text :description, null: false
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue