mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-28 00:10:57 +01:00
7332599e03
Summary: See D3912 for discussion. InnoDB may reuse autoincrement IDs after restart; provide a way to avoid it. Test Plan: Unit tests. Scheduled and executed tasks through `drydock lease --type host` and `phd debug taskmaster`. Reviewers: vrana, btrahan Reviewed By: vrana CC: aran Differential Revision: https://secure.phabricator.com/D3914
9 lines
379 B
SQL
9 lines
379 B
SQL
CREATE TABLE `{$NAMESPACE}_harbormaster`.`lisk_counter` (
|
|
counterName VARCHAR(64) COLLATE utf8_bin PRIMARY KEY,
|
|
counterValue BIGINT UNSIGNED NOT NULL
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
|
|
CREATE TABLE `{$NAMESPACE}_worker`.`lisk_counter` (
|
|
counterName VARCHAR(64) COLLATE utf8_bin PRIMARY KEY,
|
|
counterValue BIGINT UNSIGNED NOT NULL
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|