Database changes for core

Last of the database (at least for released module (inserter) and
factorio itself)

everything is in, and core will most likely be released alone