DB scheme changed. Added id column
This commit is contained in:
parent
28e0231ab3
commit
8e0f5ca987
@ -121,7 +121,7 @@ sub create_base {
|
||||
my $dbh = DBI->connect( "dbi:SQLite:dbname=$first_sqlite", "", "" );
|
||||
print "Create database schema\n";
|
||||
my $q_table
|
||||
= "create table passwords(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)";
|
||||
$dbh->do($q_table);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user