Commit 60fc7ae5 authored by Medicean's avatar Medicean

fix create table template

parent aec179d3
......@@ -808,8 +808,9 @@ class PHP {
case "mysqli":
case "mysql":
let sql = `CREATE TABLE IF NOT EXISTS \`table_name\` (
\`id\` INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
\`id\` INT UNSIGNED AUTO_INCREMENT,
\`title\` VARCHAR(100) NOT NULL,
PRIMARY KEY ( \`id\` )
);`;
this.manager.query.editor.session.setValue(sql);
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment