feat(database): Initialize database's schemas/extensions/ts_configs (fixes #4499)