sapling/bookmarks/dbbookmarks/schemas/sqlite-bookmarks.sql
Stanislau Hlebik 27d46fd45c mononoke: change the schema of bookmarks table
Summary:
Bump bookmark size limit - we use 512 for infinitepush, let's use the same
here. Also add a primary key

Reviewed By: farnz

Differential Revision: D7534967

fbshipit-source-id: aeef926de910a3a9934fb1588778f8f503821071
2018-04-09 08:03:51 -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)
);