Skip to content

Commit

Permalink
Add approach to organizations
Browse files Browse the repository at this point in the history
  • Loading branch information
Senen committed Nov 22, 2017
1 parent 74b013b commit bf6fe52
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions db/migrate/20171122183612_add_approach_to_organizations.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class AddApproachToOrganizations < ActiveRecord::Migration
def change
add_column :organizations, :approach, :string
end
end
3 changes: 2 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: 20171122161940) do
ActiveRecord::Schema.define(version: 20171122183612) do

# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
Expand Down Expand Up @@ -206,6 +206,7 @@
t.string "scope"
t.integer "associations_count"
t.integer "members_count"
t.string "approach"
end

add_index "organizations", ["category_id"], name: "index_organizations_on_category_id", using: :btree
Expand Down

0 comments on commit bf6fe52

Please sign in to comment.