Changeset 65416 in spip-zone


Ignore:
Timestamp:
Aug 31, 2012, 1:12:02 PM (7 years ago)
Author:
maieul@…
Message:

type liaison, par defaut NULL

Location:
_plugins_/a2a/branches/type
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/a2a/branches/type/a2a_administrations.php

    r65353 r65416  
    1717        $maj['0.6.0'] = array(array('a2a_maj_060'));
    1818        $maj['0.7.0'] = array(array('a2a_maj_070'));
     19        $maj['0.8.0'] = array(array('a2a_maj_080'));
    1920        include_spip('base/upgrade');
    2021        maj_plugin($nom_meta_base_version, $version_cible, $maj);
     
    3839}       
    3940
     41function a2a_maj_080(){
     42        sql_update("spip_articles_lies",array('type_liaison'=>'NULL'),"type_liaison=''");
     43        sql_alter("TABLE spip_articles_lies CHANGE type_liaison type_liaison  VARCHAR(25) DEFAULT NULL");
     44       
     45}       
    4046
    4147function a2a_vider_tables($nom_meta_base_version) {
  • _plugins_/a2a/branches/type/base/a2a.php

    r65352 r65416  
    2020                "id_article_lie"        => "bigint(21) NOT NULL",
    2121                "rang"  => "bigint(21) NOT NULL DEFAULT '0'",
    22                 "type_liaison" => "varchar(25) DEFAULT ''",
     22                "type_liaison" => "varchar(25) DEFAULT NULL",
    2323        );
    2424       
  • _plugins_/a2a/branches/type/paquet.xml

    r65395 r65416  
    22        prefix="a2a"
    33        categorie="navigation"
    4         version="1.3.4"
     4        version="1.3.5"
    55        etat="test"
    66        compatibilite="[3.0.0-dev;3.0.*]"
    77        logo="images/a2a-64.png"
    8         schema="0.7.0"
     8        schema="0.8.0"
    99        documentation="http://www.spip-contrib.net/a2a"
    1010>       
Note: See TracChangeset for help on using the changeset viewer.