File: databases.yml

package info (click to toggle)
ruby-friendly-id 5.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 432 kB
  • sloc: ruby: 3,143; makefile: 3
file content (22 lines) | stat: -rw-r--r-- 505 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
mysql:
  adapter: mysql2
  database: friendly_id_test
  username: root
  password: <%= ENV['MYSQL_PASSWORD'] %>
  host: 127.0.0.1
  port: 3306
  encoding: utf8

postgres:
  adapter: postgresql
  host: <%= ENV.fetch('PGHOST', 'localhost') %>
  port: <%= ENV.fetch('PGPORT', '5432') %>
  username: <%= ENV.fetch('PGUSER', 'postgres') %>
  password: <%= ENV.fetch('PGPASSWORD', 'postgres') %>
  database: friendly_id_test
  encoding: utf8

sqlite3:
  adapter: sqlite3
  database: ":memory:"
  encoding: utf8