Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fail when the codebase version is older than the Piwik database schema version #6829
Follows up #6815 which was a bug triggered by the fact that Piwik codebase 2.8.0 was running with a database schema of 2.9.1 causing invalid data to be inserted in the database.
Maybe when Piwik codebase is running an older version than the Schema version, we fail, to prevent such bugs from occurring.
In case really wants to run the old codebase with the new schema, we could write a message explaining that there are risks to damage the database but it is possible to disable the error message by executing the command