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

Contents of /contributions/modules/pacs/pacs.install

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


Revision 1.2 - (show annotations) (download) (as text)
Mon Jun 12 14:24:56 2006 UTC (3 years, 5 months ago) by peterone
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-4-7
Changes since 1.1: +3 -3 lines
File MIME type: text/x-php
curly braces...
1 <?php
2 // $Id$
3
4 function nodereference_install() {
5 switch ($GLOBALS['db_type']) {
6 case 'mysql':
7 case 'mysqli':
8 db_query("ALTER TABLE {node} ADD COLUMN pid INT UNSIGNED NOT NULL DEFAULT 0");
9 db_query("ALTER TABLE {node} ADD COLUMN stops VARCHAR(250) NULL");
10 db_query("DELETE FROM {node_access} WHERE nid = 0 AND realm = 'all'");
11 break;
12 }
13 }
14
15 ?>

  ViewVC Help
Powered by ViewVC 1.1.2