11 lines
215 B
Ruby
11 lines
215 B
Ruby
class CreateBrokers < ActiveRecord::Migration[7.2]
|
|
def change
|
|
create_table :brokers do |t|
|
|
t.string :name
|
|
t.belongs_to :carrier, null: true, foreign_key: true
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|