Adds two codes to residence & failed_census_call
This commit is contained in:
5
db/migrate/20160218172620_add_census_code_to_geozones.rb
Normal file
5
db/migrate/20160218172620_add_census_code_to_geozones.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddCensusCodeToGeozones < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :geozones, :census_code, :string
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
class AddDistrictCodeToFailedCensusCall < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :failed_census_calls, :district_code, :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: 20160218164923) do
|
||||
ActiveRecord::Schema.define(version: 20160219111057) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -161,6 +161,7 @@ ActiveRecord::Schema.define(version: 20160218164923) do
|
||||
t.string "postal_code"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "district_code"
|
||||
end
|
||||
|
||||
add_index "failed_census_calls", ["user_id"], name: "index_failed_census_calls_on_user_id", using: :btree
|
||||
@@ -183,6 +184,7 @@ ActiveRecord::Schema.define(version: 20160218164923) do
|
||||
t.string "external_code"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "census_code"
|
||||
end
|
||||
|
||||
create_table "identities", force: :cascade do |t|
|
||||
|
||||
Reference in New Issue
Block a user