summaryrefslogtreecommitdiff
path: root/db/migrate/20230322234003_create_addresses.rb
blob: cab3dee5f39d112c2c7b47adf454afd737bf6f5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class CreateAddresses < ActiveRecord::Migration[7.0]
  def change
    create_table :addresses do |t|
      t.integer :number
      t.string :street
      t.string :zip_code
      t.string :country
      t.string :city

      t.timestamps
    end
  end
end