/[drupal]/contributions/modules/biblio/biblio.install
ViewVC logotype

Diff of /contributions/modules/biblio/biblio.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.30.2.79, Sun Feb 22 03:02:53 2009 UTC revision 1.30.2.80, Sun Mar 1 02:01:37 2009 UTC
# Line 1  Line 1 
1  <?PHP  <?PHP
2  // $Id: biblio.install,v 1.30.2.78 2009/02/15 17:08:45 rjerome Exp $  // $Id: biblio.install,v 1.30.2.79 2009/02/22 03:02:53 rjerome Exp $
3  function biblio_install() {  function biblio_install() {
4    $result = array();    $result = array();
5    
# Line 209  function biblio_schema() { Line 209  function biblio_schema() {
209    ),    ),
210        'biblio_number' => array (        'biblio_number' => array (
211          'type' => 'varchar',          'type' => 'varchar',
212          'length' => '10',          'length' => '24',
213          'description' =>'',          'description' =>'',
214    ),    ),
215        'biblio_other_number' => array (        'biblio_other_number' => array (
# Line 250  function biblio_schema() { Line 250  function biblio_schema() {
250    ),    ),
251        'biblio_volume' => array (        'biblio_volume' => array (
252          'type' => 'varchar',          'type' => 'varchar',
253          'length' => '10',          'length' => '24',
254          'description' =>'',          'description' =>'',
255    ),    ),
256        'biblio_pages' => array (        'biblio_pages' => array (
# Line 294  function biblio_schema() { Line 294  function biblio_schema() {
294    ),    ),
295        'biblio_issue' => array (        'biblio_issue' => array (
296          'type' => 'varchar',          'type' => 'varchar',
297          'length' => '10',          'length' => '24',
298          'description' =>'',          'description' =>'',
299    ),    ),
300        'biblio_type_of_work' => array (        'biblio_type_of_work' => array (
# Line 350  function biblio_schema() { Line 350  function biblio_schema() {
350    ),    ),
351        'biblio_number_of_volumes' => array (        'biblio_number_of_volumes' => array (
352          'type' => 'varchar',          'type' => 'varchar',
353          'length' => '10',          'length' => '24',
354          'description' =>'',          'description' =>'',
355    ),    ),
356        'biblio_short_title' => array (        'biblio_short_title' => array (
# Line 380  function biblio_schema() { Line 380  function biblio_schema() {
380    ),    ),
381        'biblio_section' => array (        'biblio_section' => array (
382          'type' => 'varchar',          'type' => 'varchar',
383          'length' => '10',          'length' => '24',
384          'description' =>'',          'description' =>'',
385    ),    ),
386        'biblio_citekey' => array (        'biblio_citekey' => array (
# Line 394  function biblio_schema() { Line 394  function biblio_schema() {
394    ),    ),
395        'biblio_doi' => array (        'biblio_doi' => array (
396          'type' => 'varchar',          'type' => 'varchar',
397          'length' => '100',          'length' => '255',
398          'description' =>'',          'description' =>'',
399    ),    ),
400        'biblio_issn' => array (        'biblio_issn' => array (
# Line 1597  function biblio_update_6015() { Line 1597  function biblio_update_6015() {
1597    db_drop_field($result,'biblio', 'biblio_keywords');    db_drop_field($result,'biblio', 'biblio_keywords');
1598    return $result;    return $result;
1599  }  }
1600    
1601    function biblio_update_6016() {
1602      $result = array();
1603      $result[] = update_sql("ALTER TABLE {biblio}
1604                              MODIFY COLUMN biblio_number             VARCHAR(24),
1605                              MODIFY COLUMN biblio_section            VARCHAR(24),
1606                              MODIFY COLUMN biblio_volume             VARCHAR(24),
1607                              MODIFY COLUMN biblio_number_of_volumes  VARCHAR(24),
1608                              MODIFY COLUMN biblio_issue              VARCHAR(24),
1609                              MODIFY COLUMN biblio_doi                VARCHAR(255)");
1610      return $result;
1611    }

Legend:
Removed from v.1.30.2.79  
changed lines
  Added in v.1.30.2.80

  ViewVC Help
Powered by ViewVC 1.1.2