Bug 16573: Define virtualshelves.created_on as datetime for existing installs
Signed-off-by: Mark Tompsett <mtompset@hotmail.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
162b9015d9
commit
44785935bd
1 changed files with 1 additions and 1 deletions
|
@ -10387,7 +10387,7 @@ $DBversion = "3.19.00.038";
|
||||||
if ( CheckVersion($DBversion) ) {
|
if ( CheckVersion($DBversion) ) {
|
||||||
$dbh->do(q|
|
$dbh->do(q|
|
||||||
ALTER TABLE virtualshelves
|
ALTER TABLE virtualshelves
|
||||||
ADD COLUMN created_on TIMESTAMP NOT NULL AFTER lastmodified
|
ADD COLUMN created_on DATETIME NOT NULL AFTER lastmodified
|
||||||
|);
|
|);
|
||||||
# Set created_on = lastmodified
|
# Set created_on = lastmodified
|
||||||
# I would say it's better than 0000-00-00
|
# I would say it's better than 0000-00-00
|
||||||
|
|
Loading…
Reference in a new issue