Rezervacije
This commit is contained in:
10
db/migrate/20240804060103_create_places.rb
Normal file
10
db/migrate/20240804060103_create_places.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
class CreatePlaces < ActiveRecord::Migration[7.1]
|
||||
def change
|
||||
create_table :places do |t|
|
||||
t.string :name
|
||||
t.references :company, null: false, foreign_key: true
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user