module SQL::Sqlite
Public Instance Methods
recreate_database()
click to toggle source
# File lib/dm-migrations/sql/sqlite.rb, line 14 def recreate_database DataMapper.logger.info "Dropping #{@uri.path}" system "rm #{@uri.path}" # do nothing, sqlite will automatically create the database file end
supports_schema_transactions?()
click to toggle source
# File lib/dm-migrations/sql/sqlite.rb, line 6 def supports_schema_transactions? true end
supports_serial?()
click to toggle source
# File lib/dm-migrations/sql/sqlite.rb, line 24 def supports_serial? true end
table(table_name)
click to toggle source
# File lib/dm-migrations/sql/sqlite.rb, line 10 def table(table_name) SQL::Sqlite::Table.new(self, table_name) end
table_options()
click to toggle source
# File lib/dm-migrations/sql/sqlite.rb, line 20 def table_options '' end