Adds a schema versioning table, for upgrades.