diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2009-08-17 13:56:59 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-08-17 14:54:34 +0100 |
commit | 25e5b0c4a8d0045715a6ad11e2898585826e4e9b (patch) | |
tree | dad28e05c5b6fee48b32e025b880d5b3144d076f /railties/lib/generators | |
parent | ff1b0d3c86c2b26470a30a5edb958a365f00098e (diff) | |
download | rails-25e5b0c4a8d0045715a6ad11e2898585826e4e9b.tar.gz rails-25e5b0c4a8d0045715a6ad11e2898585826e4e9b.tar.bz2 rails-25e5b0c4a8d0045715a6ad11e2898585826e4e9b.zip |
Remove support for SQLite 2.
If you're still using it, please install the plugin from git://github.com/rails/sqlite2_adapter.git
Diffstat (limited to 'railties/lib/generators')
-rw-r--r-- | railties/lib/generators/rails/app/app_generator.rb | 2 | ||||
-rw-r--r-- | railties/lib/generators/rails/app/templates/config/databases/sqlite2.yml | 19 |
2 files changed, 1 insertions, 20 deletions
diff --git a/railties/lib/generators/rails/app/app_generator.rb b/railties/lib/generators/rails/app/app_generator.rb index c80a344e0d..24c9a969f9 100644 --- a/railties/lib/generators/rails/app/app_generator.rb +++ b/railties/lib/generators/rails/app/app_generator.rb @@ -4,7 +4,7 @@ require 'rails/version' unless defined?(Rails::VERSION) module Rails::Generators class AppGenerator < Base - DATABASES = %w( mysql oracle postgresql sqlite2 sqlite3 frontbase ibm_db ) + DATABASES = %w( mysql oracle postgresql sqlite3 frontbase ibm_db ) add_shebang_option! argument :app_path, :type => :string diff --git a/railties/lib/generators/rails/app/templates/config/databases/sqlite2.yml b/railties/lib/generators/rails/app/templates/config/databases/sqlite2.yml deleted file mode 100644 index 46f01cb42c..0000000000 --- a/railties/lib/generators/rails/app/templates/config/databases/sqlite2.yml +++ /dev/null @@ -1,19 +0,0 @@ -# SQLite version 2.x -# gem install sqlite-ruby -development: - adapter: sqlite - database: db/development.sqlite2 - pool: 5 - -# 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: sqlite - database: db/test.sqlite2 - pool: 5 - -production: - adapter: sqlite - database: db/production.sqlite2 - pool: 5 |