sapling/eden/mononoke/bonsai_globalrev_mapping/schemas/sqlite-bonsai-globalrev-mapping.sql
Lukasz Piatkowski 542d1f93d3 Manual synchronization of fbcode/eden and facebookexperimental/eden
Summary:
This commit manually synchronizes the internal move of
fbcode/scm/mononoke under fbcode/eden/mononoke which couldn't be
performed by ShipIt automatically.

Reviewed By: StanislavGlebik

Differential Revision: D19722832

fbshipit-source-id: 52fbc8bc42a8940b39872dfb8b00ce9c0f6b0800
2020-02-11 11:42:43 +01:00

16 lines
417 B
SQL

/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This software may be used and distributed according to the terms of the
* GNU General Public License version 2.
*/
CREATE TABLE bonsai_globalrev_mapping (
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
repo_id INTEGER NOT NULL,
bcs_id BINARY(32) NOT NULL,
globalrev INTEGER NOT NULL,
UNIQUE (repo_id, bcs_id),
UNIQUE (repo_id, globalrev)
);