Skip to content

Commit

Permalink
Merge branch 'md/usage-report' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
tvcam committed Aug 23, 2023
2 parents ee550e7 + 0abd189 commit bfb6af1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
class AddReferredCountToOrganizations < ActiveRecord::Migration
def change
add_column :organizations, :referred_count, :integer, default: 0
add_column :organizations, :exited_client, :integer, default: 0
end
end
4 changes: 3 additions & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 20230815153556) do
ActiveRecord::Schema.define(version: 20230823093643) do

# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
Expand Down Expand Up @@ -1901,6 +1901,8 @@
t.boolean "demo", default: false
t.string "referral_source_category_name"
t.string "ngo_type"
t.integer "referred_count", default: 0
t.integer "exited_client", default: 0
end

add_index "organizations", ["full_name"], name: "index_organizations_on_full_name", using: :btree
Expand Down

0 comments on commit bfb6af1

Please sign in to comment.