forked from External/greenlight
add HTML5 support
This commit is contained in:
5
db/migrate/20170928183010_add_use_html5_to_users.rb
Normal file
5
db/migrate/20170928183010_add_use_html5_to_users.rb
Normal file
@ -0,0 +1,5 @@
|
||||
class AddUseHtml5ToUsers < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
add_column :users, :use_html5, :boolean, default: false
|
||||
end
|
||||
end
|
13
db/schema.rb
13
db/schema.rb
@ -10,22 +10,23 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20170518190442) do
|
||||
ActiveRecord::Schema.define(version: 20170928183010) do
|
||||
|
||||
create_table "users", force: :cascade do |t|
|
||||
t.string "provider", null: false
|
||||
t.string "uid", null: false
|
||||
t.string "provider", null: false
|
||||
t.string "uid", null: false
|
||||
t.string "name"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "username"
|
||||
t.string "encrypted_id", null: false
|
||||
t.string "encrypted_id", null: false
|
||||
t.string "email"
|
||||
t.string "background_file_name"
|
||||
t.string "background_content_type"
|
||||
t.integer "background_file_size"
|
||||
t.datetime "background_updated_at"
|
||||
t.string "token"
|
||||
t.boolean "use_html5", default: true
|
||||
t.index ["email"], name: "index_users_on_email", unique: true
|
||||
t.index ["encrypted_id"], name: "index_users_on_encrypted_id", unique: true
|
||||
t.index ["provider", "uid"], name: "index_users_on_provider_and_uid", unique: true
|
||||
|
Reference in New Issue
Block a user