OSDN Git Service
(root)
/
webchat
/
WebChat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
バージョンを更新した
[webchat/WebChat.git]
/
init.js
diff --git
a/init.js
b/init.js
index
d8729e5
..
0370eaa
100644
(file)
--- a/
init.js
+++ b/
init.js
@@
-45,11
+45,11
@@
if("lastmodified" in config.alias)
async.waterfall([
function(next){
async.waterfall([
function(next){
- var query = GetDropTableQuery("list");
+ var query = GetDropTableQuery("
profile
list");
pool.query(query,null,next);
},
function(result,next){
pool.query(query,null,next);
},
function(result,next){
- var query = GetCreateQuery(config.alias,"list");
+ var query = GetCreateQuery(config.alias,"
profile
list");
pool.query(query,null,next);
},
function(result,next){
pool.query(query,null,next);
},
function(result,next){
@@
-117,6
+117,8
@@
function GetCreateQuery(def,tablename)
var result = "CREATE TABLE " + tablename + "(";
for(key in def)
{
var result = "CREATE TABLE " + tablename + "(";
for(key in def)
{
+ if(typeof(def[key].nodefinetable) != "undefined" && def[key].nodefinetable)
+ continue;
switch(def[key].type)
{
case "text":
switch(def[key].type)
{
case "text":