mirror of
https://github.com/oonyeje/Pearlception_Website_RoR.git
synced 2025-12-25 11:47:41 +00:00
Db config
This commit is contained in:
parent
f76c3a9e2c
commit
72fe53bff2
@ -34,12 +34,6 @@ stats_test:
|
||||
development:
|
||||
<<: *default
|
||||
database: Pearlception_development
|
||||
username: <%= ENV['DEV_DB_USER'] %>
|
||||
password: <%= ENV['DEV_DB_PASS'] %>
|
||||
#host: <%= ENV['DEV_DB_URL'] %>
|
||||
host: localhost
|
||||
port: 3306
|
||||
#database: main
|
||||
|
||||
# Warning: The database defined as "test" will be erased and
|
||||
# re-generated from your development database when you run "rake".
|
||||
@ -47,12 +41,6 @@ development:
|
||||
test:
|
||||
<<: *default
|
||||
database: Pearlception_test
|
||||
username: <%= ENV['DEV_DB_USER'] %>
|
||||
password: <%= ENV['DEV_DB_PASS'] %>
|
||||
#host: <%= ENV['DEV_DB_URL'] %>
|
||||
host: localhost
|
||||
port: 3306
|
||||
#database: main
|
||||
|
||||
# As with config/secrets.yml, you never want to store sensitive information,
|
||||
# like your database password, in your source code. If your source code is
|
||||
|
||||
@ -22,8 +22,7 @@ ActiveRecord::Schema.define(version: 20170119161737) do
|
||||
create_table "users", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
|
||||
t.string "email", default: "", null: false
|
||||
t.string "encrypted_password", default: "", null: false
|
||||
t.integer "company_id", null: false
|
||||
t.boolean "admin", default: false, null: false
|
||||
t.integer "company_id", default: -1, null: false
|
||||
t.string "reset_password_token"
|
||||
t.datetime "reset_password_sent_at"
|
||||
t.datetime "remember_created_at"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user