aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generator/templates/app/config/databases/sqlite3.yml
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2009-06-16 15:57:14 +0200
committerJosé Valim <jose.valim@gmail.com>2009-06-19 16:10:42 +0200
commit720aceeea9083e8139e06be5aaaa3b9db98f344d (patch)
tree4b44f95f49acd087decf68d4e5a22cfab607356f /railties/lib/generator/templates/app/config/databases/sqlite3.yml
parentced68c7430216424419ecb4525d3bc6b6847f9c6 (diff)
downloadrails-720aceeea9083e8139e06be5aaaa3b9db98f344d.tar.gz
rails-720aceeea9083e8139e06be5aaaa3b9db98f344d.tar.bz2
rails-720aceeea9083e8139e06be5aaaa3b9db98f344d.zip
Send new files too.
Diffstat (limited to 'railties/lib/generator/templates/app/config/databases/sqlite3.yml')
-rw-r--r--railties/lib/generator/templates/app/config/databases/sqlite3.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/railties/lib/generator/templates/app/config/databases/sqlite3.yml b/railties/lib/generator/templates/app/config/databases/sqlite3.yml
new file mode 100644
index 0000000000..025d62a8d8
--- /dev/null
+++ b/railties/lib/generator/templates/app/config/databases/sqlite3.yml
@@ -0,0 +1,22 @@
+# SQLite version 3.x
+# gem install sqlite3-ruby (not necessary on OS X Leopard)
+development:
+ adapter: sqlite3
+ database: db/development.sqlite3
+ pool: 5
+ timeout: 5000
+
+# 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
+
+production:
+ adapter: sqlite3
+ database: db/production.sqlite3
+ pool: 5
+ timeout: 5000