summaryrefslogtreecommitdiff
path: root/db/migrate/20230322234849_create_user_account_addresses.rb
blob: a2e0e9b164052267c6a03a260f580b7b3def9f97 (plain)
1
2
3
4
5
6
7
8
9
10
class CreateUserAccountAddresses < ActiveRecord::Migration[7.0]
  def change
    create_table :user_account_addresses do |t|
      t.references :user_account, null: false, foreign_key: true
      t.references :address, null: false, foreign_key: true

      t.timestamps
    end
  end
end