volunteers/db/migrate/20230111164425_create_stories.rb
2023-01-11 20:52:58 +02:00

14 lines
251 B
Ruby

class CreateStories < ActiveRecord::Migration[7.0]
def change
create_table :stories do |t|
t.references :member
t.string :picture
t.string :header
t.text :text
t.date :happened
t.timestamps
end
end
end