added supporter thing to users
This commit is contained in:
parent
dd21ce344b
commit
5af3f1a109
|
@ -0,0 +1,5 @@
|
|||
class AddSupporterToUsers < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :supporter, :boolean, default: false
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20141229133149) do
|
||||
ActiveRecord::Schema.define(version: 20150102231343) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -168,6 +168,7 @@ ActiveRecord::Schema.define(version: 20141229133149) do
|
|||
t.integer "crop_y"
|
||||
t.integer "crop_w"
|
||||
t.integer "crop_h"
|
||||
t.boolean "supporter", default: false
|
||||
end
|
||||
|
||||
add_index "users", ["email"], name: "index_users_on_email", unique: true, using: :btree
|
||||
|
|
Loading…
Reference in New Issue