diff --git a/install/mysql.go b/install/mysql.go index e7565ea7..2ac9ca46 100644 --- a/install/mysql.go +++ b/install/mysql.go @@ -84,8 +84,7 @@ func _tableDefsMysql() error { continue } - var table string - var ext string + var table, ext string table = strings.TrimPrefix(f.Name(), "query_") ext = filepath.Ext(table) if ext != ".sql" { @@ -110,6 +109,10 @@ func _tableDefsMysql() error { return nil } +// ? - Moved this here since it was breaking the installer, we need to add this at some point +/* TODO: Implement the html-attribute setting type before deploying this */ +/*INSERT INTO settings(`name`,`content`,`type`) VALUES ('meta_desc','','html-attribute');*/ + func _initialDataMysql() error { return nil // Coming Soon diff --git a/mysql.sql b/mysql.sql index 4d02afe3..4f2b9323 100644 --- a/mysql.sql +++ b/mysql.sql @@ -187,8 +187,6 @@ INSERT INTO settings(`name`,`content`,`type`) VALUES ('url_tags','1','bool'); INSERT INTO settings(`name`,`content`,`type`,`constraints`) VALUES ('activation_type','1','list','1-3'); INSERT INTO settings(`name`,`content`,`type`) VALUES ('bigpost_min_words','250','int'); INSERT INTO settings(`name`,`content`,`type`) VALUES ('megapost_min_words','1000','int'); -/* TODO: Implement the html-attribute setting type before deploying this */ -/*INSERT INTO settings(`name`,`content`,`type`) VALUES ('meta_desc','','html-attribute');*/ INSERT INTO themes(`uname`,`default`) VALUES ('tempra-simple',1); INSERT INTO emails(`email`,`uid`,`validated`) VALUES ('admin@localhost',1,1);