sapling/bookmarks/dbbookmarks/schemas/mysql-bookmarks.sql
Stanislau Hlebik 0392799c87 mononoke: add mysql bookmarks
Summary:
The diff size is formidable, however it's not that bad really. This is just
about moving the code inside the macro and tests in a separate file.
This is similar to changesets or filenodes crates

Reviewed By: lukaspiatkowski

Differential Revision: D7639681

fbshipit-source-id: 4216652780bf99939245ae39e508b3b46cf96a03
2018-04-21 11:24:24 -07:00

7 lines
160 B
SQL

CREATE TABLE bookmarks (
repo_id INT UNSIGNED NOT NULL,
name VARCHAR(512) NOT NULL,
changeset_id VARBINARY(32) NOT NULL,
PRIMARY KEY (repo_id, name)
);