source: sipes/0.3-modules/proyectos_reformulacion_ajuste/proyectos_reformulacion_ajuste.install @ 2fa3319

stableversion-3.0
Last change on this file since 2fa3319 was 303fae2, checked in by José Gregorio Puentes <jpuentes@…>, 9 años ago

se agregaron los modulos

  • Propiedad mode establecida a 100755
File size: 538 octetos
Línea 
1<?php
2
3/*
4 * Implementation of hook_install
5 */
6function proyectos_reformulacion_ajuste_install() {
7  db_add_field($ret, 'proyectos_reformular', 'justificacion', array('type' => 'text','size' => 'big', 'default' => '',));
8  db_add_field($ret, 'proyectos_reformula', 'unidad', array('type' => 'int', 'default' => 0,));
9}
10
11/*
12 * Implementation of hook_install
13 */
14function proyectos_reformulacion_ajuste_uninstall() {
15  db_drop_field($ret, 'proyectos_reformular', 'justificacion');
16  db_drop_field($ret, 'proyectos_reformula', 'unidad');
17}
Nota: Vea TracBrowser para ayuda de uso del navegador del repositorio.