Verwendung
~/$ scs.pl checksum --dsn dbi:SQLite:dbname=test.db --show_dump
660d1e9b6aec2ac84c2ff6b1acb5fe3450fdd013
$VAR1 = {
'tables' => {
'main.first_table' => {
'columns' => {
'a_column' => {
'COLUMN_DEF' => undef,
'COLUMN_NAME' => 'a_column',
'COLUMN_SIZE' => undef,
'NULLABLE' => 1,
'TYPE_NAME' => 'text'
},
'another_column' => {
'COLUMN_DEF' => undef,
'COLUMN_NAME' => 'another_column',
'COLUMN_SIZE' => undef,
'NULLABLE' => 1,
'TYPE_NAME' => 'integer'
},
'id' => {
'COLUMN_DEF' => undef,
'COLUMN_NAME' => 'id',
'COLUMN_SIZE' => undef,
'NULLABLE' => 1,
'TYPE_NAME' => 'INTEGER'
}
},
'primary_keys' => [
'id'
]
}
}
};