/[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.62, Sun Feb 22 03:07:00 2009 UTC revision 1.63, Sun Mar 1 01:49:09 2009 UTC
# Line 1  Line 1 
1  <?PHP  <?PHP
2  // $Id: biblio.install,v 1.61 2009/02/15 17:02:28 rjerome Exp $  // $Id: biblio.install,v 1.62 2009/02/22 03:07:00 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 1686  function biblio_update_6015() { Line 1686  function biblio_update_6015() {
1686    db_drop_field($result,'biblio', 'biblio_keywords');    db_drop_field($result,'biblio', 'biblio_keywords');
1687    return $result;    return $result;
1688  }  }
1689    
1690    function biblio_update_6016() {
1691      $result = array();
1692      $result[] = update_sql("ALTER TABLE {biblio}
1693                              MODIFY COLUMN biblio_number             VARCHAR(24),
1694                              MODIFY COLUMN biblio_section            VARCHAR(24),
1695                              MODIFY COLUMN biblio_volume             VARCHAR(24),
1696                              MODIFY COLUMN biblio_number_of_volumes  VARCHAR(24),
1697                              MODIFY COLUMN biblio_issue              VARCHAR(24),
1698                              MODIFY COLUMN biblio_doi                VARCHAR(255)");
1699      return $result;
1700    }

Legend:
Removed from v.1.62  
changed lines
  Added in v.1.63

  ViewVC Help
Powered by ViewVC 1.1.2