Class Rails::DataMapper::Storage::Sqlite
In: lib/dm-rails/storage.rb
Parent: Storage

Methods

Public Instance methods

This is a noop for sqlite

Overwritten solely for documentation purposes

Both auto_migrate!/auto_upgrade! will create the actual database if the connection has been setup properly and there actually are statements to execute (i.e. at least one model is declared)

DataMapper.setup alone won‘t create the actual database so there really is no API to simply create an empty database for sqlite3.

we return true to indicate success nevertheless

[Validate]