diff --git a/core/modules/system/tests/modules/update_test_schema/update_test_schema.install b/core/modules/system/tests/modules/update_test_schema/update_test_schema.install index b6aa9c3..972f901 100644 --- a/core/modules/system/tests/modules/update_test_schema/update_test_schema.install +++ b/core/modules/system/tests/modules/update_test_schema/update_test_schema.install @@ -35,7 +35,14 @@ function update_test_schema_schema() { * Schema version 8001. */ function update_test_schema_update_8001() { + $table = [ + 'fields' => [ + 'a' => ['type' => 'int', 'not null' => TRUE], + 'b' => ['type' => 'blob', 'not null' => FALSE], + ], + ]; + // Add a column. - db_add_index('update_test_schema_table', 'test', ['a']); + db_add_index('update_test_schema_table', 'test', ['a'], $table); } }