https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8137

--- Comment #129 from Fridolin Somers <[email protected]> ---
(In reply to Fridolin Somers from comment #125)
> Ah small difference between atomic update and kohastructure.sql :
> 
> +        $dbh->do('ALTER TABLE circulation_rules ADD IF NOT EXISTS
> has_priority INT(1) DEFAULT 0');
> 
> +++ b/installer/data/mysql/kohastructure.sql
> @@ -1863,6 +1863,7 @@ CREATE TABLE `circulation_rules` (
>    `itemtype` varchar(10) DEFAULT NULL,
>    `rule_name` varchar(32) NOT NULL,
>    `rule_value` varchar(32) NOT NULL,
> +  `has_priority` tinyint(4) DEFAULT NULL,
> 
> Its a boolean so looks like atomic update is correct and kohastructure.sql
> not

Nope, kohastructure.sql is correct for DEFAULT NULL so :
tinyint(1) DEFAULT NULL

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to