Commit 0fbd9ac7487febe699abd697220ef787b1d08291
1 parent
c4f3c54e
Exists in
master
and in
4 other branches
Remove SQLite support
Showing
5 changed files
with
5 additions
and
50 deletions
Show diff stats
Gemfile
Gemfile.lock
... | ... | @@ -410,7 +410,6 @@ GEM |
410 | 410 | multi_json (~> 1.0) |
411 | 411 | rack (~> 1.0) |
412 | 412 | tilt (~> 1.1, != 1.3.0) |
413 | - sqlite3 (1.3.6) | |
414 | 413 | stamp (0.3.0) |
415 | 414 | test_after_commit (0.0.1) |
416 | 415 | therubyracer (0.10.2) |
... | ... | @@ -518,7 +517,6 @@ DEPENDENCIES |
518 | 517 | simplecov |
519 | 518 | six |
520 | 519 | spinach-rails |
521 | - sqlite3 | |
522 | 520 | stamp |
523 | 521 | test_after_commit |
524 | 522 | therubyracer | ... | ... |
config/database.yml.sqlite
... | ... | @@ -1,31 +0,0 @@ |
1 | -# | |
2 | -# PRODUCTION | |
3 | -# | |
4 | -# SQLite version 3.x | |
5 | -# gem install sqlite3 | |
6 | -# | |
7 | -# Ensure the SQLite 3 gem is defined in your Gemfile | |
8 | -# gem 'sqlite3' | |
9 | -production: | |
10 | - adapter: sqlite3 | |
11 | - database: db/production.sqlite3 | |
12 | - pool: 5 | |
13 | - timeout: 5000 | |
14 | - | |
15 | -# | |
16 | -# Development specific | |
17 | -# | |
18 | -development: | |
19 | - adapter: sqlite3 | |
20 | - database: db/development.sqlite3 | |
21 | - pool: 5 | |
22 | - timeout: 5000 | |
23 | - | |
24 | -# Warning: The database defined as "test" will be erased and | |
25 | -# re-generated from your development database when you run "rake". | |
26 | -# Do not set this db to the same as development or production. | |
27 | -test: &test | |
28 | - adapter: sqlite3 | |
29 | - database: db/test.sqlite3 | |
30 | - pool: 5 | |
31 | - timeout: 5000 |
doc/install/databases.md
1 | 1 | # Databases: |
2 | 2 | |
3 | -GitLab use mysql as default database but you are free to use PostgreSQL or SQLite. | |
3 | +GitLab use MySQL as default database but you are free to use PostgreSQL. | |
4 | 4 | |
5 | 5 | |
6 | -## SQLite | |
7 | - | |
8 | - sudo apt-get install -y sqlite3 libsqlite3-dev | |
9 | - | |
10 | 6 | ## MySQL |
11 | 7 | |
12 | 8 | sudo apt-get install -y mysql-server mysql-client libmysqlclient-dev |
... | ... | @@ -47,9 +43,6 @@ GitLab use mysql as default database but you are free to use PostgreSQL or SQLit |
47 | 43 | |
48 | 44 | #### Select the database you want to use |
49 | 45 | |
50 | - # SQLite | |
51 | - sudo -u gitlab cp config/database.yml.sqlite config/database.yml | |
52 | - | |
53 | 46 | # Mysql |
54 | 47 | sudo -u gitlab cp config/database.yml.mysql config/database.yml |
55 | 48 | |
... | ... | @@ -61,11 +54,7 @@ GitLab use mysql as default database but you are free to use PostgreSQL or SQLit |
61 | 54 | #### Install gems |
62 | 55 | |
63 | 56 | # mysql |
64 | - sudo -u gitlab -H bundle install --without development test sqlite postgres --deployment | |
57 | + sudo -u gitlab -H bundle install --without development test postgres --deployment | |
65 | 58 | |
66 | 59 | # or postgres |
67 | - sudo -u gitlab -H bundle install --without development test sqlite mysql --deployment | |
68 | - | |
69 | - # or sqlite | |
70 | - sudo -u gitlab -H bundle install --without development test mysql postgres --deployment | |
71 | - | |
60 | + sudo -u gitlab -H bundle install --without development test mysql --deployment | ... | ... |
doc/install/installation.md
... | ... | @@ -178,7 +178,7 @@ and ensure you have followed all of the above steps carefully. |
178 | 178 | |
179 | 179 | sudo gem install charlock_holmes --version '0.6.9' |
180 | 180 | sudo gem install bundler |
181 | - sudo -u gitlab -H bundle install --without development test sqlite postgres --deployment | |
181 | + sudo -u gitlab -H bundle install --without development test postgres --deployment | |
182 | 182 | |
183 | 183 | #### Configure git client |
184 | 184 | |
... | ... | @@ -269,7 +269,7 @@ You can login via web using admin generated with setup: |
269 | 269 | |
270 | 270 | # Advanced setup tips: |
271 | 271 | |
272 | -_Checkout databases.md for postgres or sqlite_ | |
272 | +_Checkout databases.md for PostgreSQL_ | |
273 | 273 | |
274 | 274 | ## Customizing Resque's Redis connection |
275 | 275 | ... | ... |