mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-10-21 09:19:59 +00:00
Add dotenv - Protect my secret data in .env file
This commit is contained in:
7
db/migrate/20180829105638_add_first_name_to_users.rb
Normal file
7
db/migrate/20180829105638_add_first_name_to_users.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class AddFirstNameToUsers < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :users, :first_name, :string
|
||||
add_column :users, :last_name, :string
|
||||
add_column :users, :photo, :string
|
||||
end
|
||||
end
|
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2018_08_27_151325) do
|
||||
ActiveRecord::Schema.define(version: 2018_08_29_105638) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -30,6 +30,9 @@ ActiveRecord::Schema.define(version: 2018_08_27_151325) do
|
||||
t.datetime "remember_created_at"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "first_name"
|
||||
t.string "last_name"
|
||||
t.string "photo"
|
||||
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
|
||||
|
Reference in New Issue
Block a user