delete old schema-version value before inserting the new one

when changing the schema we could not re-init the database (without deleting it completly)