DBIx::Migration::Directories::Database::SQLite2 - Handle quirks with DBD::SQLite2
my $dbh = DBIx::Transaction->connect('DBI:SQLite2:my_database'); my $migration = DBIx::Migration::Directories->new( dbh => $dbh, schema => 'MySchema', ... );
The following methods had to be written differently so that they behave properly under SQLite2:
SQLite2 does not support the SQL standard "
sql_table_existsmethod instead uses SQLite2's custom "
sqlite_master" meta-table to verify the existance of a table.
SQLite2 does not supply a now() function to retrieve the current time, so this query has been modified to compensate.
Tyler "Crackerjack" MacDonald <email@example.com>
Copyright 2009 Tyler "Crackerjack" MacDonald <firstname.lastname@example.org>
This is free software; You may distribute it under the same terms as perl itself.