- working party
- working friend - working attendent
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
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.references :party, null: false, foreign_key: true
|
||||
t.references :friend, null: false, foreign_key: true
|
||||
t.string :status, default: 'offen'
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user