Make settings work before migrations

Because settings are pulled from database in service provider, we need
to make it work even if there is no database table.