Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
foreign_key_interpreter_result.php
Go to the documentation of this file.
1 <?php
6 return [
7  'table' => [
8  'reference_table' => [
9  'column' => [
10  'tinyint_ref' => [
11  'type' => 'tinyint',
12  'name' => 'tinyint_ref',
13  'default' => '0',
14  'padding' => '7',
15  'nullable' => 'true',
16  'unsigned' => 'false',
17  ],
18  ],
19  'name' => 'reference_table',
20  'resource' => 'default',
21  ],
22  'test_table' => [
23  'column' => [
24  'tinyint' => [
25  'type' => 'tinyint',
26  'name' => 'tinyint',
27  'default' => '0',
28  'padding' => '7',
29  'nullable' => 'true',
30  'unsigned' => 'false',
31  ],
32  ],
33  'constraint' => [
34  'TEST_TABLE_TINYINT_REFERENCE_TABLE_TINYINT_REF' => [
35  'type' => 'foreign',
36  'referenceId' => 'TEST_TABLE_TINYINT_REFERENCE_TABLE_TINYINT_REF',
37  'column' => 'tinyint',
38  'table' => 'test_table',
39  'referenceTable' => 'reference_table',
40  'referenceColumn' => 'tinyint_ref',
41  ],
42  ],
43  'name' => 'test_table',
44  'resource' => 'default',
45  ],
46  ],
47 ];