summaryrefslogtreecommitdiff
path: root/misc/database-layout.dump
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-22 17:05:51 +0200
committerErich Eckner <git@eckner.net>2018-04-22 17:05:51 +0200
commit3e74fde47ed058a59040e68c0ce2b3153563da92 (patch)
tree5ebbf646f3291e5864818752dcc48717aab48c89 /misc/database-layout.dump
parentdb8dc9d02ba26353cb74fb771fd2e3ed210f51aa (diff)
downloadbuilder-3e74fde47ed058a59040e68c0ce2b3153563da92.tar.xz
`binary_packages`.`last_moved` new
Diffstat (limited to 'misc/database-layout.dump')
-rw-r--r--misc/database-layout.dump1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/database-layout.dump b/misc/database-layout.dump
index fffdef4..84c17cb 100644
--- a/misc/database-layout.dump
+++ b/misc/database-layout.dump
@@ -259,6 +259,7 @@ binary_packages CREATE TABLE `binary_packages` (
`architecture` smallint(6) NOT NULL,
`is_to_be_deleted` bit(1) NOT NULL,
`sha512sum` varchar(128) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
+ `last_moved` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `file_name` (`pkgname`,`epoch`,`pkgver`,`pkgrel`,`sub_pkgrel`,`architecture`,`repository`),
UNIQUE KEY `content` (`build_assignment`,`sub_pkgrel`,`pkgname`,`architecture`,`repository`),