done brand

This commit is contained in:
Benjamin Myara
2018-08-31 10:17:26 +01:00
parent 25c6c3aeb5
commit 81ed01010c
11 changed files with 188 additions and 4 deletions

View File

@@ -0,0 +1,8 @@
class AddColumnsToUsers < ActiveRecord::Migration[5.2]
def change
add_column :users, :language, :string
add_column :users, :caption_font, :string
add_column :users, :caption_font_size, :integer
add_column :users, :enable_transcript, :boolean
end
end

View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2018_08_29_105638) do
ActiveRecord::Schema.define(version: 2018_08_30_100110) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -33,6 +33,10 @@ ActiveRecord::Schema.define(version: 2018_08_29_105638) do
t.string "first_name"
t.string "last_name"
t.string "photo"
t.string "language"
t.string "caption_font"
t.integer "caption_font_size"
t.boolean "enable_transcript"
t.index ["email"], name: "index_users_on_email", unique: true
t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
end