Révision 01dfd3b5
Ajouté par Assos Assos il y a plus de 3 ans
drupal7/modules/simpletest/tests/database_test.install | ||
---|---|---|
217 | 217 |
), |
218 | 218 |
); |
219 | 219 |
|
220 |
$schema['virtual'] = array( |
|
221 |
'description' => 'Basic test table with a reserved name.', |
|
222 |
'fields' => array( |
|
223 |
'id' => array( |
|
224 |
'type' => 'serial', |
|
225 |
'unsigned' => TRUE, |
|
226 |
'not null' => TRUE, |
|
227 |
), |
|
228 |
'function' => array( |
|
229 |
'description' => "A column with a reserved name.", |
|
230 |
'type' => 'varchar', |
|
231 |
'length' => 255, |
|
232 |
'not null' => FALSE, |
|
233 |
'default' => '', |
|
234 |
), |
|
235 |
), |
|
236 |
'primary key' => array('id'), |
|
237 |
); |
|
238 |
|
|
220 | 239 |
return $schema; |
221 | 240 |
} |
Formats disponibles : Unified diff
Udpate to 7.77