add auto change wallpaper

This commit is contained in:
Данил 2022-09-19 16:55:33 +03:00
parent b9d775eec9
commit 87878315e5

View file

@ -22,7 +22,8 @@ func Database() {
CREATE TABLE IF NOT EXISTS settings ( CREATE TABLE IF NOT EXISTS settings (
lang TEXT DEFAULT 'en', lang TEXT DEFAULT 'en',
autostart INTEGER DEFAULT 0, autostart INTEGER DEFAULT 0,
autoupdate INTEGER DEFAULT 0 autoupdate INTEGER DEFAULT 0,
autochangewallpaper INTEGER DEFAULT 0
);` );`
_, CreateTableErr := db.Exec(sqlTable) _, CreateTableErr := db.Exec(sqlTable)
if CreateTableErr != nil { if CreateTableErr != nil {