Fixed the installer.
This commit is contained in:
parent
31f506c50c
commit
d869b87aa1
|
@ -84,8 +84,7 @@ func _tableDefsMysql() error {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
var table string
|
var table, ext string
|
||||||
var ext string
|
|
||||||
table = strings.TrimPrefix(f.Name(), "query_")
|
table = strings.TrimPrefix(f.Name(), "query_")
|
||||||
ext = filepath.Ext(table)
|
ext = filepath.Ext(table)
|
||||||
if ext != ".sql" {
|
if ext != ".sql" {
|
||||||
|
@ -110,6 +109,10 @@ func _tableDefsMysql() error {
|
||||||
return nil
|
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 {
|
func _initialDataMysql() error {
|
||||||
return nil // Coming Soon
|
return nil // Coming Soon
|
||||||
|
|
||||||
|
|
|
@ -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`,`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 ('bigpost_min_words','250','int');
|
||||||
INSERT INTO settings(`name`,`content`,`type`) VALUES ('megapost_min_words','1000','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 themes(`uname`,`default`) VALUES ('tempra-simple',1);
|
||||||
INSERT INTO emails(`email`,`uid`,`validated`) VALUES ('admin@localhost',1,1);
|
INSERT INTO emails(`email`,`uid`,`validated`) VALUES ('admin@localhost',1,1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue