adding stories, scaffold

This commit is contained in:
2023-01-11 18:48:06 +02:00
parent 10686d1f5e
commit 23a2254d2e
18 changed files with 289 additions and 27 deletions

View File

@ -0,0 +1,12 @@
class CreateStories < ActiveRecord::Migration[7.0]
def change
create_table :stories do |t|
t.string :picture
t.string :header
t.text :text
t.date :happened
t.timestamps
end
end
end