Skip to content

Commit fb6bc33

Browse files
committed
Stored is the MySQL counterpart of PERSISTENT. See http://mysqlserverteam.com/generated-columns-in-mysql-5-7-5/
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
1 parent 8d2f7b5 commit fb6bc33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/Components/FieldDefinition.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,12 @@ class FieldDefinition extends Component
4848
'COLUMN_FORMAT' => array(6, 'var'),
4949
'ON UPDATE' => array(7, 'var'),
5050

51-
// MariaDB options.
51+
// generated columns options.
5252
'GENERATED ALWAYS' => 1,
5353
'AS' => array(2, 'expr', array('bracketsDelimited' => true)),
5454
'VIRTUAL' => 3,
5555
'PERSISTENT' => 3,
56+
'STORED' => 3,
5657
// 'UNIQUE' => 4, // common
5758
// 'UNIQUE KEY' => 4, // common
5859
);

0 commit comments

Comments
 (0)