New field in item table ("shadow") that indicates if there is a shadow entry

This commit is contained in:
Michael Vogel 2016-04-03 13:48:31 +02:00 committed by Roland Haeder
parent c8a62a4073
commit f711258183
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78
7 changed files with 145 additions and 62 deletions

View file

@ -783,6 +783,7 @@ function db_definition() {
"parent-uri" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
"extid" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
"thr-parent" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
"shadow" => array("type" => "int(10) unsigned", "not null" => "1", "default" => "0"),
"created" => array("type" => "datetime", "not null" => "1", "default" => "0000-00-00 00:00:00"),
"edited" => array("type" => "datetime", "not null" => "1", "default" => "0000-00-00 00:00:00"),
"commented" => array("type" => "datetime", "not null" => "1", "default" => "0000-00-00 00:00:00"),