Skip to content

convert config to DB#22

Open
grimmier378 wants to merge 3 commits intoDerpleDude:mainfrom
grimmier378:config_to_sqlite
Open

convert config to DB#22
grimmier378 wants to merge 3 commits intoDerpleDude:mainfrom
grimmier378:config_to_sqlite

Conversation

@grimmier378
Copy link
Copy Markdown
Contributor

Convert the config lua to sqlite db
changes save to the DB and actors sends a message to others about changes so they can reload them as needed.

daily backups still save to the backup folder as a lua table.

Convert the config lua to sqlite db
changes save to the DB and actors sends a message to others about changes so they can reload them as needed.

daily backups still save to the backup folder as a lua table.
if an entry is nil then ipairs won't proceed to the next entry. switched to using pairs instead with a nil check.
since switched to pairs the nil check is not needed.

I was still in ipairs mentality thinking it still needed to be nil checked.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants