Goup add to DB schema

This commit is contained in:
Denis Zheleztsov 2015-04-10 11:30:36 +03:00
parent 9920557fef
commit eb5fa3c9d4

View File

@ -138,7 +138,7 @@ sub create_base {
print "Create database schema\n"; print "Create database schema\n";
my $q_table my $q_table
= "create table passwords(id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, name VARCHAR(32), username VARCHAR(32), = "create table passwords(id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, name VARCHAR(32), username VARCHAR(32),
resource TEXT, password TEXT, comment TEXT)"; resource TEXT, group VARCHAR(32), password TEXT, comment TEXT)";
$dbh->do($q_table); $dbh->do($q_table);
print "Encrypt database...\n"; print "Encrypt database...\n";