volunteers/db/migrate/20230111164425_create_stories.rb

14 lines
251 B
Ruby
Raw Normal View History

2023-01-11 17:48:06 +01:00
class CreateStories < ActiveRecord::Migration[7.0]
def change
create_table :stories do |t|
2023-01-11 19:52:58 +01:00
t.references :member
2023-01-11 17:48:06 +01:00
t.string :picture
t.string :header
t.text :text
t.date :happened
t.timestamps
end
end
end