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:
See "sql_table_exists" in DBIx::Migration::Directories::Base.
SQLite2 does not support the SQL standard "information_schema". This sql_table_exists method instead uses SQLite2's custom "sqlite_master" meta-table to verify the existance of a table.
information_schema
sql_table_exists
sqlite_master
See "sql_insert_migration_schema_log" in DBIx::Migration::Directories::Base.
SQLite2 does not supply a now() function to retrieve the current time, so this query has been modified to compensate.
Tyler "Crackerjack" MacDonald <japh@crackerjack.net>
Copyright 2009 Tyler "Crackerjack" MacDonald <japh@crackerjack.net>
This is free software; You may distribute it under the same terms as perl itself.
DBIx::Migration::Directories, DBD::mysql
To install DBIx::Migration::Directories, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Migration::Directories
CPAN shell
perl -MCPAN -e shell install DBIx::Migration::Directories
For more information on module installation, please visit the detailed CPAN module installation guide.