Merge branch 'test' of https://gitea.verdnatura.es/verdnatura/smart-tag into test
This commit is contained in:
commit
21d153c985
|
@ -0,0 +1,11 @@
|
|||
const con = require('./connect.js')
|
||||
|
||||
con.con.connect(function(err) {
|
||||
if (err) throw err;
|
||||
console.log("Connected!");
|
||||
var sql = "CREATE TABLE customers (code VARCHAR(100) PRIMARY KEY, shelvingFk VARCHAR(10) FOREIGN KEY REFERENCES shelving(code), level INT(11))";
|
||||
con.con.query(sql, function (err, result) {
|
||||
if (err) throw err;
|
||||
console.log("Table created");
|
||||
});
|
||||
});
|
Reference in New Issue