Changeset 63289 in spip-zone


Ignore:
Timestamp:
Jul 5, 2012, 10:30:29 AM (9 years ago)
Author:
kent1@…
Message:

Correction d'un bug sur les mises à jour

Les metadatas peuvent être très long => LONGTEXT

Location:
_plugins_/spipmotion/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/spipmotion/trunk/base/spipmotion.php

    r63265 r63289  
    2929        $tables_principales['spip_documents']['field']['audiochannels'] = "INTEGER";
    3030        $tables_principales['spip_documents']['field']['rotation'] = "INTEGER";
    31         $tables_principales['spip_documents']['field']['metadatas'] = "TEXT DEFAULT '' NOT NULL";
     31        $tables_principales['spip_documents']['field']['metadatas'] = "LONGTEXT DEFAULT '' NOT NULL";
    3232
    3333        return $tables_principales;
  • _plugins_/spipmotion/trunk/paquet.xml

    r63265 r63289  
    66        compatibilite="[3.0.0;3.0.99]"
    77        logo="images/spipmotion.png"
    8         schema="1.1.2"
     8        schema="1.1.3"
    99        documentation="http://www.mediaspip.net/technical-documentation/plugins-used-by-mediaspip/spipmotion/"
    1010>       
  • _plugins_/spipmotion/trunk/spipmotion_administrations.php

    r63265 r63289  
    3232        );
    3333        $maj['0.7.2'] = array(
    34                 array('sql_alter',array('TABLE spip_documents CHANGE `pixelformat` `pixelformat` VARCHAR(255) DEFAULT "" NOT NULL'))
     34                array('sql_alter','TABLE spip_documents CHANGE `pixelformat` `pixelformat` VARCHAR(255) DEFAULT "" NOT NULL')
    3535        );
    3636        $maj['0.7.3'] = array(
     
    3838        );
    3939        $maj['0.7.4'] = array(
    40                 array('sql_alter',array('TABLE spip_documents CHANGE `framerate` `framerate` FLOAT'))
     40                array('sql_alter','TABLE spip_documents CHANGE `framerate` `framerate` FLOAT')
    4141        );
    4242        $maj['0.7.6'] = array(
     
    5151        );
    5252        $maj['0.8.0'] = array(
    53                 array('sql_alter',array('TABLE spip_documents CHANGE `metas` `metadatas` TEXT DEFAULT "" NOT NULL'))
     53                array('sql_alter','TABLE spip_documents CHANGE `metas` `metadatas` TEXT DEFAULT "" NOT NULL')
    5454        );
    5555        $maj['1.1.0'] = array(
     
    6161        $maj['1.1.2'] = array(
    6262                array('maj_tables',array('spip_documents')),
     63        );
     64        $maj['1.1.3'] = array(
     65                array('sql_alter','TABLE spip_documents CHANGE `metadatas` `metadatas` LONGTEXT NOT NULL'),
     66               
    6367        );
    6468        /**
Note: See TracChangeset for help on using the changeset viewer.