[Core] Fix SQL Revision