Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BEGIN;
- --
- -- Change Meta options on revision
- --
- --
- -- Change Meta options on version
- --
- --
- -- Remove field manager_slug from revision
- --
- ALTER TABLE `reversion_revision` DROP COLUMN `manager_slug`;
- --
- -- Add field db to version
- --
- ALTER TABLE `reversion_version` ADD COLUMN `db` varchar(191) DEFAULT NOT NULL;
- ALTER TABLE `reversion_version` ALTER COLUMN `db` DROP DEFAULT;
- --
- -- Alter field date_created on revision
- --
- --
- -- Alter field object_id on version
- --
- ALTER TABLE `reversion_version` MODIFY `object_id` varchar(191) NOT NULL;
- --
- -- Remove field object_id_int from version
- --
- ALTER TABLE `reversion_version` DROP COLUMN `object_id_int`;
- --
- -- Alter unique_together for version (1 constraint(s))
- --
- ALTER TABLE `reversion_version` ADD CONSTRAINT `reversion_version_db_content_type_id_objec_b2c54f65_uniq` UNIQUE (`db`, `content_type_id`, `object_id`, `revision_id`);
- COMMIT;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement