Browse Source

Add sex1 column

pull/902/head
Kat 3 years ago
parent
commit
351d295c35
  1. 5
      db/migrate/20220926153206_add_sex1_column.rb
  2. 3
      db/schema.rb

5
db/migrate/20220926153206_add_sex1_column.rb

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

3
db/schema.rb

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[7.0].define(version: 2022_09_23_093628) do
ActiveRecord::Schema[7.0].define(version: 2022_09_26_153206) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -338,6 +338,7 @@ ActiveRecord::Schema[7.0].define(version: 2022_09_23_093628) do
t.integer "beds"
t.integer "age1"
t.integer "age1_known"
t.string "sex1"
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 ["owning_organisation_id"], name: "index_sales_logs_on_owning_organisation_id"

Loading…
Cancel
Save