mirror of
https://github.com/we-promise/sure.git
synced 2026-04-11 00:04:47 +00:00
* Add backend for property account details * Rubocop updates * Add property form with details * Revert "Rubocop updates" This reverts commit 05b0b8f3a4eb8f444997b9bef18ffc972a8be69e. * Bump brakeman to latest version * Add overview section to property view * Lint fixes
17 lines
382 B
Ruby
17 lines
382 B
Ruby
class CreateAddresses < ActiveRecord::Migration[7.2]
|
|
def change
|
|
create_table :addresses, id: :uuid do |t|
|
|
t.references :addressable, type: :uuid, polymorphic: true
|
|
t.string :line1
|
|
t.string :line2
|
|
t.string :county
|
|
t.string :locality
|
|
t.string :region
|
|
t.string :country
|
|
t.integer :postal_code
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|