added parties

This commit is contained in:
2025-11-22 11:46:40 +01:00
parent 65fd97c8c1
commit 03ee9fefec
14 changed files with 232 additions and 2 deletions

View File

@ -0,0 +1,10 @@
class CreateAttendents < ActiveRecord::Migration[8.0]
def change
create_table :attendents do |t|
t.references :parties, null: false, foreign_key: true
t.references :friends, null: false, foreign_key: true
t.string :status, default: 'offen'
t.timestamps
end
end
end