Commit e74fae147abc7d2ffbf93d363dbbe45b87751f6f

Authored by Artiom Lunev
1 parent 86f76b11

rename database config to example

@@ -8,4 +8,5 @@ coverage/* @@ -8,4 +8,5 @@ coverage/*
8 *.swp 8 *.swp
9 public/uploads/ 9 public/uploads/
10 .rvmrc 10 .rvmrc
11 -config/gitlab.yml  
12 \ No newline at end of file 11 \ No newline at end of file
  12 +config/gitlab.yml
  13 +config/database.yml
13 \ No newline at end of file 14 \ No newline at end of file
config/database.yml
@@ -1,25 +0,0 @@ @@ -1,25 +0,0 @@
1 -# SQLite version 3.x  
2 -# gem install sqlite3  
3 -#  
4 -# Ensure the SQLite 3 gem is defined in your Gemfile  
5 -# gem 'sqlite3'  
6 -development:  
7 - adapter: sqlite3  
8 - database: db/development.sqlite3  
9 - pool: 5  
10 - timeout: 5000  
11 -  
12 -# Warning: The database defined as "test" will be erased and  
13 -# re-generated from your development database when you run "rake".  
14 -# Do not set this db to the same as development or production.  
15 -test:  
16 - adapter: sqlite3  
17 - database: db/test.sqlite3  
18 - pool: 5  
19 - timeout: 5000  
20 -  
21 -production:  
22 - adapter: sqlite3  
23 - database: db/production.sqlite3  
24 - pool: 5  
25 - timeout: 5000  
config/database.yml.example 0 → 100644
@@ -0,0 +1,25 @@ @@ -0,0 +1,25 @@
  1 +# SQLite version 3.x
  2 +# gem install sqlite3
  3 +#
  4 +# Ensure the SQLite 3 gem is defined in your Gemfile
  5 +# gem 'sqlite3'
  6 +development:
  7 + adapter: sqlite3
  8 + database: db/development.sqlite3
  9 + pool: 5
  10 + timeout: 5000
  11 +
  12 +# Warning: The database defined as "test" will be erased and
  13 +# re-generated from your development database when you run "rake".
  14 +# Do not set this db to the same as development or production.
  15 +test:
  16 + adapter: sqlite3
  17 + database: db/test.sqlite3
  18 + pool: 5
  19 + timeout: 5000
  20 +
  21 +production:
  22 + adapter: sqlite3
  23 + database: db/production.sqlite3
  24 + pool: 5
  25 + timeout: 5000