Having local changes is quite common and it is a stumbling block when upgrading GitLab. Because schema.rb is generated from the actual DB schema it is OK to clear the local changes.