mirror of
https://github.com/facebook/sapling.git
synced 2024-10-16 19:57:18 +03:00
41c2048ce6
Summary: We need to record updated onto rev instead of guessing it in pushrebase replayer. I will not land this diff until mononoke db schema is update D12923144, D12997125 Reviewed By: quark-zju Differential Revision: D12922833 fbshipit-source-id: 11c6411c392ca9092be53ffba8baa074faf3a996
19 lines
713 B
SQL
19 lines
713 B
SQL
CREATE TABLE `pushrebaserecording` (
|
|
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
|
`repo_id` int(10) unsigned NOT NULL,
|
|
`ontorev` binary(40) NOT NULL,
|
|
`onto` varchar(512) NOT NULL,
|
|
`onto_rebased_rev` binary(40) DEFAULT NULL,
|
|
`conflicts` LONGTEXT DEFAULT NULL,
|
|
`pushrebase_errmsg` varchar(1024) DEFAULT NULL,
|
|
`upload_errmsg` varchar(1024) DEFAULT NULL,
|
|
`bundlehandle` varchar(1024),
|
|
`timestamps` LONGTEXT NOT NULL,
|
|
`recorded_manifest_hashes` LONGTEXT NOT NULL,
|
|
`real_manifest_hashes` LONGTEXT NOT NULL,
|
|
`duration_ms` int(10),
|
|
`replacements_revs` varchar(1024) DEFAULT NULL,
|
|
`ordered_added_revs` varchar(1024) DEFAULT NULL,
|
|
PRIMARY KEY (`id`) )
|
|
ENGINE=InnoDB DEFAULT CHARSET=utf8;
|