Newer
Older
Angie Byron
committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
/**
* @file
* Contains \Drupal\migrate_drupal\Tests\Table\d7\TaxonomyIndex.
*
* THIS IS A GENERATED FILE. DO NOT EDIT.
*
* @see core/scripts/migrate-db.sh
* @see https://www.drupal.org/sandbox/benjy/2405029
*/
namespace Drupal\migrate_drupal\Tests\Table\d7;
use Drupal\migrate_drupal\Tests\Dump\DrupalDumpBase;
/**
* Generated file to represent the taxonomy_index table.
*/
class TaxonomyIndex extends DrupalDumpBase {
public function load() {
$this->createTable("taxonomy_index", array(
'fields' => array(
'nid' => array(
'type' => 'int',
'not null' => TRUE,
'length' => '10',
'default' => '0',
'unsigned' => TRUE,
),
'tid' => array(
'type' => 'int',
'not null' => TRUE,
'length' => '10',
'default' => '0',
'unsigned' => TRUE,
),
'sticky' => array(
'type' => 'int',
'not null' => FALSE,
Alex Pott
committed
'length' => '11',
Angie Byron
committed
'default' => '0',
),
'created' => array(
'type' => 'int',
'not null' => TRUE,
'length' => '11',
'default' => '0',
),
),
Alex Pott
committed
'mysql_character_set' => 'utf8',
Angie Byron
committed
));
$this->database->insert("taxonomy_index")->fields(array(
'nid',
'tid',
'sticky',
'created',
))
->values(array(
'nid' => '1',
'tid' => '4',
'sticky' => '0',
'created' => '1421727515',
))->execute();
}
}
Angie Byron
committed
#8204d7c1b294ccb506b5106f410bfa37