mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 02:35:57 +02:00
Added multiple streets to address
This commit is contained in:
parent
dc2ec5535f
commit
e8ddf2272e
5 changed files with 20 additions and 14 deletions
6
db/migrate/20140813102245_add_streets_to_address.rb
Normal file
6
db/migrate/20140813102245_add_streets_to_address.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
class AddStreetsToAddress < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :addresses, :street2, :string
|
||||
add_column :addresses, :street3, :string
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20140808132327) do
|
||||
ActiveRecord::Schema.define(version: 20140813102245) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -24,6 +24,8 @@ ActiveRecord::Schema.define(version: 20140808132327) do
|
|||
t.string "zip"
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
t.string "street2"
|
||||
t.string "street3"
|
||||
end
|
||||
|
||||
create_table "contacts", force: true do |t|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue