transaction for table creation
This commit is contained in:
parent
2863ff7508
commit
c13835d2ef
1 changed files with 1 additions and 0 deletions
|
@ -214,6 +214,7 @@ function create_tables(Database $db)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$db->begin_transaction();
|
||||||
$db->create_table("aliases", "
|
$db->create_table("aliases", "
|
||||||
oldtag VARCHAR(128) NOT NULL,
|
oldtag VARCHAR(128) NOT NULL,
|
||||||
newtag VARCHAR(128) NOT NULL,
|
newtag VARCHAR(128) NOT NULL,
|
||||||
|
|
Reference in a new issue