first gallery version

This commit is contained in:
Torsten
2023-01-25 22:15:54 +02:00
parent 09500b8223
commit e7b24d1201
22 changed files with 304 additions and 12 deletions

View File

@ -0,0 +1,12 @@
class CreatePictures < ActiveRecord::Migration[7.0]
def change
create_table :pictures do |t|
t.string :picture
t.string :text
t.date :happened
t.references :member, null: false, foreign_key: true
t.timestamps
end
end
end