2024-08-11 14:18:36 +02:00
|
|
|
class CreateTeams < ActiveRecord::Migration[7.1]
|
|
|
|
|
def change
|
|
|
|
|
create_table :teams do |t|
|
2024-08-24 07:06:09 +02:00
|
|
|
t.string :name
|
|
|
|
|
t.references :company, null: false, foreign_key: true
|
2024-08-11 14:18:36 +02:00
|
|
|
t.timestamps
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|