added parties
This commit is contained in:
12
db/migrate/20251122103401_create_parties.rb
Normal file
12
db/migrate/20251122103401_create_parties.rb
Normal file
@ -0,0 +1,12 @@
|
||||
class CreateParties < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
create_table :parties do |t|
|
||||
t.string :title, null: false
|
||||
t.string :location, null: false
|
||||
t.date :start_date, null: false
|
||||
t.time :start_time, null: false
|
||||
t.string :status, default: 'undefiniert'
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user