Browse Source

Add gender identity 3 comumn to the sales table

pull/1058/head
Kat 4 years ago
parent
commit
f1a60a2148
  1. 5
      db/migrate/20221206081127_add_sex3_column.rb
  2. 5
      db/schema.rb

5
db/migrate/20221206081127_add_sex3_column.rb

@ -0,0 +1,5 @@
class AddSex3Column < ActiveRecord::Migration[7.0]
def change
add_column :sales_logs, :sex3, :string
end
end

5
db/schema.rb

@ -10,7 +10,7 @@
# #
# It's strongly recommended that you check this file into your version control system. # It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[7.0].define(version: 2022_12_02_100512) do ActiveRecord::Schema[7.0].define(version: 2022_12_06_081127) do
# These are extensions that must be enabled in order to support this database # These are extensions that must be enabled in order to support this database
enable_extension "plpgsql" enable_extension "plpgsql"
@ -387,9 +387,10 @@ ActiveRecord::Schema[7.0].define(version: 2022_12_02_100512) do
t.integer "inc1mort" t.integer "inc1mort"
t.integer "income2" t.integer "income2"
t.integer "income2nk" t.integer "income2nk"
t.integer "prevown"
t.integer "savingsnk" t.integer "savingsnk"
t.integer "savings" t.integer "savings"
t.integer "prevown" t.string "sex3"
t.index ["created_by_id"], name: "index_sales_logs_on_created_by_id" t.index ["created_by_id"], name: "index_sales_logs_on_created_by_id"
t.index ["managing_organisation_id"], name: "index_sales_logs_on_managing_organisation_id" t.index ["managing_organisation_id"], name: "index_sales_logs_on_managing_organisation_id"
t.index ["owning_organisation_id"], name: "index_sales_logs_on_owning_organisation_id" t.index ["owning_organisation_id"], name: "index_sales_logs_on_owning_organisation_id"

Loading…
Cancel
Save