8 my $self = { db
=> "/tmp/rose-i18n.db" };
18 my $db = $self->{ db
};
21 warn 'Creating new db...';
23 my $dbh = DBI
->connect( "dbi:SQLite:$db" ) or die $DBI::errstr
;
27 `id` INTEGER PRIMARY KEY NOT NULL,
28 `orig_lang` CHARACTER VARYING(2) NOT NULL,
29 `name` CHARACTER VARYING(255) NOT NULL,
35 CREATE TABLE `user_i18n` (
36 `i18nid` INTEGER PRIMARY KEY NOT NULL,
37 `user_id` INTEGER NOT NULL,
38 `lang` CHARACTER VARYING(2) NOT NULL,
39 `signature` CHARACTER VARYING(255),
40 `istran` TINYINT(1) NOT NULL DEFAULT 0
60 This library is free software, you can redistribute it and/or modify
61 it under the same terms as Perl itself.