Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / system / tests / modules / database_test / database_test.install
index b4e3ca5632558fb4337c03d5b523791b9684b063..ab952c746ea995d51fbf8f57d5c00fafd5967ac0 100644 (file)
@@ -47,7 +47,7 @@ function database_test_schema() {
     ],
     'primary key' => ['id'],
     'unique keys' => [
-      'name' => ['name']
+      'name' => ['name'],
     ],
     'indexes' => [
       'ages' => ['age'],
@@ -148,7 +148,7 @@ function database_test_schema() {
       ],
       'blob2' => [
         'description' => 'A second BLOB field.',
-        'type' => 'blob'
+        'type' => 'blob',
       ],
     ],
     'primary key' => ['id'],
@@ -212,7 +212,7 @@ function database_test_schema() {
     ],
     'primary key' => ['id'],
     'unique keys' => [
-      'name' => ['name']
+      'name' => ['name'],
     ],
     'indexes' => [
       'ages' => ['age'],
@@ -242,7 +242,7 @@ function database_test_schema() {
     ],
     'primary key' => ['id'],
     'unique keys' => [
-      'name' => ['name']
+      'name' => ['name'],
     ],
   ];
 
@@ -287,6 +287,10 @@ function database_test_schema() {
         'description' => 'A column with preserved name.',
         'type' => 'text',
       ],
+      'function' => [
+        'description' => 'A column with reserved name in MySQL 8.',
+        'type' => 'text',
+      ],
     ],
     'primary key' => ['id'],
   ];