Migrate oai module settings to database