Schema changes for scheduler bucketing change

These changes are additive and will not affect existing tables. Related to #366. That will be merged after this is merged.