Commit 443cb9c9 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Merge branch '91-length-harvesters-collections' into 'master'

Resolve "Increase the length of the database field harvesters.collection"

Closes #91

See merge request !91
parents 357f0db5 fae4c6fa
......@@ -184,7 +184,7 @@ class Harvester(object):
......@@ -97,7 +97,7 @@ class HarvesterUI(object):
# Fields
mdf = FieldsModifier("harvesters")
mdf.configure_field("collections", xtype="textarea")
mdf.configure_field("collections", height=250, xtype="textarea")
mdf.configure_field("ratio", hidden=True)
mdf.configure_field("scan", hidden=True)
......@@ -352,7 +352,7 @@ CREATE TABLE `harvesters` (
`id_projects` int(11) DEFAULT NULL,
`controller` varchar(255) NOT NULL,
`host` varchar(255) NOT NULL DEFAULT '',
`collections` varchar(255) DEFAULT NULL,
`collections` varchar(1024) DEFAULT NULL,
`id_categories` int(11) DEFAULT NULL,
`scan` char(1) DEFAULT NULL,
......@@ -11,10 +11,10 @@
defining a collection using author name since author name can contain
also comma.
In version, it has been decided that the collection field
In version 0.9.7, it has been decided that the collection field
contains the definition for only one collection.
This script allow to migrate from to approach.
This script allow to migrate from to 0.9.7 approach.
-- In release 0.9.6.x the length of the field harvesters.collections is 255
-- It is to small when collection are defined via a long list of authors
-- this script increase the lenght to 1024
ALTER TABLE harvesters MODIFY collections varchar(1024) DEFAULT NULL;
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment