2012-09-17 11:30:00 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Database additions for upgrade path tests when all non-required modules are
|
|
|
|
* disabled.
|
|
|
|
*
|
|
|
|
* The drupal-7.filled.standard_all.database.php file is imported before
|
|
|
|
* this dump, so the two form the database structure expected in tests
|
|
|
|
* altogether.
|
|
|
|
*/
|
|
|
|
|
|
|
|
db_update('system')
|
|
|
|
->fields(array(
|
|
|
|
'status' => 0,
|
|
|
|
))
|
|
|
|
->condition('type', 'module')
|
|
|
|
->condition('name', array('filter', 'field', 'field_sql_storage', 'entity',
|
|
|
|
'system', 'text', 'user'), 'NOT IN')
|
|
|
|
->execute();
|
2013-01-15 22:07:29 +00:00
|
|
|
|
|
|
|
db_update('system')
|
|
|
|
->fields(array(
|
|
|
|
'schema_version' => 0,
|
|
|
|
))
|
|
|
|
->condition('type', 'module')
|
|
|
|
->condition('name', 'update_test_1')
|
|
|
|
->execute();
|