Fix revisionDate field definitions for several assets. Fixes bug #11066
This commit is contained in:
parent
0a23831f91
commit
1108760f48
2 changed files with 14 additions and 0 deletions
|
|
@ -22,6 +22,7 @@
|
||||||
- fixed #11064: spelling error
|
- fixed #11064: spelling error
|
||||||
- fixed #11062: subscriptionCode
|
- fixed #11062: subscriptionCode
|
||||||
- fixed #11061: SQLForm_fieldOrder
|
- fixed #11061: SQLForm_fieldOrder
|
||||||
|
- fixed #11066: wrong definitions
|
||||||
|
|
||||||
7.8.0
|
7.8.0
|
||||||
- upgraded YUI to 2.8.0r4
|
- upgraded YUI to 2.8.0r4
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@ fixWikis( $session );
|
||||||
fixEMSTemplates( $session );
|
fixEMSTemplates( $session );
|
||||||
removeOldSubscriptionTables( $session );
|
removeOldSubscriptionTables( $session );
|
||||||
removeSQLFormTables( $session );
|
removeSQLFormTables( $session );
|
||||||
|
fixBadRevisionDateColumns( $session );
|
||||||
|
|
||||||
finish($session); # this line required
|
finish($session); # this line required
|
||||||
|
|
||||||
|
|
@ -47,6 +48,18 @@ finish($session); # this line required
|
||||||
# print "DONE!\n" unless $quiet;
|
# print "DONE!\n" unless $quiet;
|
||||||
#}
|
#}
|
||||||
|
|
||||||
|
# Describe what our function does
|
||||||
|
sub fixBadRevisionDateColumns {
|
||||||
|
my $session = shift;
|
||||||
|
print "\tGive all revisionDate columns the correct definition... " unless $quiet;
|
||||||
|
$session->db->write("ALTER TABLE Event MODIFY COLUMN revisionDate BIGINT NOT NULL DEFAULT 0");
|
||||||
|
$session->db->write("ALTER TABLE Calendar MODIFY COLUMN revisionDate BIGINT NOT NULL DEFAULT 0");
|
||||||
|
$session->db->write("ALTER TABLE MultiSearch MODIFY COLUMN revisionDate BIGINT NOT NULL DEFAULT 0");
|
||||||
|
$session->db->write("ALTER TABLE Dashboard MODIFY COLUMN revisionDate BIGINT NOT NULL DEFAULT 0");
|
||||||
|
$session->db->write("ALTER TABLE StockData MODIFY COLUMN revisionDate BIGINT NOT NULL DEFAULT 0");
|
||||||
|
print "Done.\n" unless $quiet;
|
||||||
|
}
|
||||||
|
|
||||||
# Describe what our function does
|
# Describe what our function does
|
||||||
sub removeSQLFormTables {
|
sub removeSQLFormTables {
|
||||||
my $session = shift;
|
my $session = shift;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue