comparison owners/ad_owners.install @ 1:948362c2a207 ad

update advertisement
author pierre
date Thu, 02 Apr 2009 15:28:21 +0000
parents d8a3998dac8e
children
comparison
equal deleted inserted replaced
0:d8a3998dac8e 1:948362c2a207
1 <?php 1 <?php
2 // $Id: ad_owners.install,v 1.1.2.2 2009/02/16 17:06:49 jeremy Exp $ 2 // $Id: ad_owners.install,v 1.1.2.2.2.1 2009/02/23 22:39:04 jeremy Exp $
3 3
4 /** 4 /**
5 * @file 5 * @file
6 * Ad_owners module database schema. 6 * Ad_owners module database schema.
7 * 7 *
66 ), 66 ),
67 ), 67 ),
68 'primary key' => array('oid'), 68 'primary key' => array('oid'),
69 ); 69 );
70 70
71 /**
72 * The ad_hosts table is used to configure users that can display ads
73 * remotely.
74 */
75 $schema['ad_hosts'] = array(
76 'description' => 'The ad_hosts table is used to configure users that can display ads remotely. ',
77 'fields' => array(
78 'uid' => array(
79 'type' => 'int',
80 'not null' => TRUE,
81 'unsigned' => TRUE,
82 'default' => 0,
83 'description' => '',
84 ),
85 'hostid' => array(
86 'type' => 'varchar',
87 'length' => 32,
88 'not null' => TRUE,
89 'default' => '',
90 'description' => 'Host from which acion was made.',
91 ),
92 'status' => array(
93 'type' => 'int',
94 'size' => 'tiny',
95 'not null' => TRUE,
96 'unsigned' => TRUE,
97 'default' => 0,
98 'description' => '',
99 ),
100 'description' => array(
101 'type' => 'text',
102 'not null' => FALSE,
103 'description' => 'Host from which acion was made.',
104 ),
105 ),
106 'primary key' => array('uid'),
107 'indexes' => array(
108 'status' => array('status'),
109 'hostid' => array('hostid'),
110 ),
111 );
112
71 return $schema; 113 return $schema;
72 } 114 }
73 115
74 /** 116 /**
75 * ad_external module installation. 117 * ad_external module installation.