This repository has been archived on 2024-08-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
redstoner.com/config/database.yml
Jonas Folvik ec8d0095f3 Removed methods that are unused and not needed
Removed the haspaid?, correct_case?, ign_is_not_skull and
ign_is_not_mojang methods because they aren't used anymore, since we now
have a connection between the server and the website to check if they
have paid and that the skull is a skull. I also removed the
account_exists? method because it makes problems when you setup the
database since some users can be seen to not exist.
2016-01-18 20:28:03 +01:00

27 lines
527 B
YAML

default: &default
adapter: mysql2
encoding: utf8mb4
database: website
pool: 5
timeout: 5000
host: 127.0.0.1
development:
<<: *default
database: redstoner-web
username: root
production:
<<: *default
# please set ENV["DATABASE_URL"]
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
adapter: sqlite3
database: db/test.sqlite3
pool: 5
timeout: 5000