Skip to content
Snippets Groups Projects
Commit 3a91107a authored by catch's avatar catch
Browse files

Issue #3487533 by mglaman, catch, larowlan, wim leers, daffie, longwave:...

Issue #3487533 by mglaman, catch, larowlan, wim leers, daffie, longwave: Cannot modify a table which uses JSON type

(cherry picked from commit 75dcfd20)
parent 1068d9ce
No related branches found
No related tags found
26 merge requests!13515Issue #3552810 by makertimswis: migration prevent skipped values to set (null) value onwards,!13496Issue #3536939 by phenaproxima, savage1974, thejimbirch: The unpacker chokes...,!13385Issue #3549904 by xiff: Taxonomy term [term:published_status] token not available,!13375Issue #3535199 by alexpott, godotislate: Saving untrusted config results in memory leak,!13373ckeditor5.api.php fix @encode,!13234Issue #3533030 by catch, mondrake: Move QuickStart tests to build tests,!13231Issue #3533030 by catch, mondrake: Move QuickStart tests to build tests,!13182Provide offending asset path in asset preprocess error messages.,!13164Issue #3545027 Fixed typehints in ContextDefinition's $label and $description.,!13121Issue #3530262 by mohit_aghera, kim.pepper, quietone, xjm: Add mohit_aghera as...,!13086Issue #3525642 by amateescu, smustgrave: The active workspace is not persisted...,!13015Issue #3465041 by prudloff, xjm, smustgrave, larowlan:...,!12812Issue #3527142 by andypost, catch, longwave, xjm: Update Composer and...,!12811Issue #3527142 by andypost, catch, longwave, xjm: Update Composer and...,!12686Draft: Issue #3535330: Assets paths in CSS no longer rewritten when aggregation is enabled,!12661Issue #3255804 by godotislate, longwave, berdir, alexpott, catch, andypost,...,!12660Issue #3255804 by godotislate, longwave, berdir, alexpott, catch, andypost,...,!12618Issue #3522970 by longwave, smustgrave: Remove unused BrowserTestBase::$originalContainer,!12486Resolve #3532360 "Check for session",!12473Issue #3521639 by mstrelan, smustgrave for 11.2,!12462Issue #3523109 by ghost of drupal past, donquixote, nicxvan, dww, larowlan,...,!9182Representative Node Views fails due to invalid SQL,!9103Issue #3150540 by kriboogh: Configuration langcode is forced to site default language,!8811Issue #3129179: Provide some way to rebuild the persistent bundle field map,!7916Remove taxonomy dependency on node module - 11.x,!4367Issue #2671162: Also use text editor (CKEditor) for "summary" of a text field
Pipeline #520498 passed with warnings
Pipeline: drupal

#520519

    Pipeline: drupal

    #520511

      Pipeline: drupal

      #520504

        ......@@ -249,6 +249,11 @@ public function getFieldTypeMap() {
        'blob:big' => 'BLOB',
        'blob:normal' => 'BLOB',
        // Only the SQLite driver has this field map to due to a fatal error
        // error caused by this driver's schema on table introspection.
        // @todo Add support to all drivers in https://drupal.org/i/3343634
        'json:normal' => 'JSON',
        ];
        return $map;
        }
        ......
        ......
        ......@@ -272,6 +272,16 @@ public function testSchema(): void {
        // Test the primary key columns.
        $this->assertSame(['test_serial', 'test_composite_primary_key'], $method->invoke($this->schema, 'test_table'));
        // Test adding and removing JSON column.
        $this->schema->addField('test_table', 'test_json', [
        'description' => 'I heard you liked JSON.',
        'type' => 'json',
        'pgsql_type' => 'jsonb',
        'mysql_type' => 'json',
        'sqlite_type' => 'json',
        ]);
        $this->schema->dropField('test_table', 'test_json');
        // Test renaming of keys and constraints.
        $this->schema->dropTable('test_table');
        $table_specification = [
        ......
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Please to comment