Adds organization rejection & tests
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddOrganizationRejectedAtToUsers < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :organization_rejected_at, :datetime
|
||||
end
|
||||
end
|
||||
12
db/schema.rb
12
db/schema.rb
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20150810155304) do
|
||||
ActiveRecord::Schema.define(version: 20150812104712) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -53,6 +53,15 @@ ActiveRecord::Schema.define(version: 20150810155304) do
|
||||
|
||||
add_index "moderators", ["user_id"], name: "index_moderators_on_user_id", using: :btree
|
||||
|
||||
create_table "simple_captcha_data", force: :cascade do |t|
|
||||
t.string "key", limit: 40
|
||||
t.string "value", limit: 6
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
end
|
||||
|
||||
add_index "simple_captcha_data", ["key"], name: "idx_key", using: :btree
|
||||
|
||||
create_table "taggings", force: :cascade do |t|
|
||||
t.integer "tag_id"
|
||||
t.integer "taggable_id"
|
||||
@@ -99,6 +108,7 @@ ActiveRecord::Schema.define(version: 20150810155304) do
|
||||
t.string "organization_name", limit: 80
|
||||
t.datetime "organization_verified_at"
|
||||
t.string "phone_number", limit: 30
|
||||
t.datetime "organization_rejected_at"
|
||||
end
|
||||
|
||||
add_index "users", ["confirmation_token"], name: "index_users_on_confirmation_token", unique: true, using: :btree
|
||||
|
||||
Reference in New Issue
Block a user