drupal-7.state.system.database.php 1.87 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
<?php

/**
 * @file
 * Database additions for state system upgrade tests.
 *
 * This dump only contains data and schema components relevant for system
 * functionality. The drupal-7.filled.bare.php file is imported before
 * this dump, so the two form the database structure expected in tests
 * altogether.
 */

// Update system settings to known values.
14
db_merge('variable')
15
  ->keys(array('name' => 'node_cron_views_scale'))
16 17 18
  ->fields(array('value' => serialize(1.0 / 2000)))
  ->execute();
db_merge('variable')
19
  ->keys(array('name' => 'statistics_day_timestamp'))
20 21
  ->fields(array('value' => serialize(1352070595)))
  ->execute();
22
db_merge('variable')
23
  ->keys(array('name' => 'tracker_index_nid'))
24 25
  ->fields(array('value' => serialize(0)))
  ->execute();
26
db_merge('variable')
27
  ->keys(array('name' => 'update_last_check'))
28 29 30
  ->fields(array('value' => serialize(1304208000)))
  ->execute();
db_merge('variable')
31
  ->keys(array('name' => 'update_last_email_notification'))
32 33
  ->fields(array('value' => serialize(1304208000)))
  ->execute();
34
db_merge('variable')
35
  ->keys(array('name' => 'node_access_needs_rebuild'))
36 37
  ->fields(array('value' => serialize(TRUE)))
  ->execute();
38
db_merge('variable')
39
  ->keys(array('name' => 'node_cron_last'))
40 41 42
  ->fields(array('value' => serialize(1304208001)))
  ->execute();
db_merge('variable')
43
  ->keys(array('name' => 'cron_last'))
44 45
  ->fields(array('value' => serialize(1304208002)))
  ->execute();
46
db_merge('variable')
47
  ->keys(array('name' => 'cron_key'))
48 49
  ->fields(array('value' => serialize('kdm95qppDDlyZrcUOx453YwQqDA4DNmxi4VQcxzFU9M')))
  ->execute();
50
db_merge('variable')
51
  ->keys(array('name' => 'drupal_private_key'))
52 53
  ->fields(array('value' => serialize('G38mKqASKus8VGMkMzVuXImYbzspCQ1iRT2iEZpMYmQ')))
  ->execute();
54
db_merge('variable')
55
  ->keys(array('name' => 'node_cron_comments_scale'))
56 57
  ->fields(array('value' => serialize(1.0 / 1000)))
  ->execute();