mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
8ed850dc2b
Summary: This change fixes two problems in pushrebase recording, that will be used to test mononoke pushrebase: - record correct `repo_id`, it used to be always 0 - `ontorev` truncation, as we store rev as hex string we need 40 bytes instead of 20 Reviewed By: ikostia Differential Revision: D9398009 fbshipit-source-id: 91add2d75fbb9acf32b99dc952c467d44c2ccbc9
16 lines
566 B
SQL
16 lines
566 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,
|
|
`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),
|
|
PRIMARY KEY (`id`) )
|
|
ENGINE=InnoDB DEFAULT CHARSET=utf8;
|