All Downloads are FREE. Search and download functionalities are using the official Maven repository.

liquibase.harness.diff.expectedDiff.mysql8_to_postgresql9.json Maven / Gradle / Ivy

There is a newer version: 1.0.10
Show newest version
{
  "changedObjects": [
    {
      "changedObject": {
        "catalogName": "lbcat",
        "relationName": "posts",
        "differences": [
          {
            "difference": {
              "field": "autoIncrement",
              "comparedValue": true,
              "message": "autoIncrement changed from 'false' to 'true'",
              "referenceValue": false
            }
          },
          {
            "difference": {
              "field": "type",
              "comparedValue": {
                "radix": 10,
                "characterOctetLength": 10,
                "columnSizeUnit": "BYTE",
                "dataTypeId": 4,
                "typeName": "serial"
              },
              "message": "type changed from 'INT(10)' to 'serial'",
              "referenceValue": {
                "radix": 10,
                "columnSizeUnit": "BYTE",
                "columnSize": 10,
                "dataTypeId": 4,
                "typeName": "INT"
              }
            }
          }
        ],
        "name": "id",
        "type": "column",
        "schemaName": "public"
      }
    },
    {
      "changedObject": {
        "catalogName": "lbcat",
        "relationName": "authors",
        "differences": [
          {
            "difference": {
              "field": "type",
              "comparedValue": {
                "radix": 10,
                "characterOctetLength": 10,
                "columnSizeUnit": "BYTE",
                "dataTypeId": 4,
                "typeName": "serial"
              },
              "message": "type changed from 'INT(10)' to 'serial'",
              "referenceValue": {
                "radix": 10,
                "columnSizeUnit": "BYTE",
                "columnSize": 10,
                "dataTypeId": 4,
                "typeName": "INT"
              }
            }
          }
        ],
        "name": "id",
        "type": "column",
        "schemaName": "public"
      }
    },
    {
      "changedObject": {
        "catalogName": "lbcat",
        "relationName": "posts",
        "differences": [
          {
            "difference": {
              "field": "type",
              "comparedValue": {
                "radix": 10,
                "characterOctetLength": 2147483647,
                "columnSizeUnit": "BYTE",
                "dataTypeId": 12,
                "typeName": "text"
              },
              "message": "type changed from 'TEXT(65535)' to 'text'",
              "referenceValue": {
                "radix": 10,
                "characterOctetLength": 65535,
                "columnSizeUnit": "BYTE",
                "columnSize": 65535,
                "dataTypeId": "-1",
                "typeName": "TEXT"
              }
            }
          }
        ],
        "name": "content",
        "type": "column",
        "schemaName": "public"
      }
    },
    {
      "changedObject": {
        "catalogName": "lbcat",
        "relationName": "posts",
        "differences": [
          {
            "difference": {
              "field": "type",
              "comparedValue": {
                "radix": 10,
                "characterOctetLength": 10,
                "columnSizeUnit": "BYTE",
                "dataTypeId": 4,
                "typeName": "int4"
              },
              "message": "type changed from 'INT(10)' to 'int4'",
              "referenceValue": {
                "radix": 10,
                "columnSizeUnit": "BYTE",
                "columnSize": 10,
                "dataTypeId": 4,
                "typeName": "INT"
              }
            }
          }
        ],
        "name": "author_id",
        "type": "column",
        "schemaName": "public"
      }
    },
    {
      "changedObject": {
        "catalogName": "lbcat",
        "relationName": "posts",
        "differences": [
          {
            "difference": {
              "field": "type",
              "comparedValue": {
                "radix": 10,
                "characterOctetLength": 13,
                "columnSizeUnit": "BYTE",
                "dataTypeId": 91,
                "typeName": "date"
              },
              "message": "type changed from 'DATE(10)' to 'date'",
              "referenceValue": {
                "radix": 10,
                "columnSizeUnit": "BYTE",
                "columnSize": 10,
                "dataTypeId": 91,
                "typeName": "DATE"
              }
            }
          }
        ],
        "name": "inserted_date",
        "type": "column",
        "schemaName": "public"
      }
    },
    {
      "changedObject": {
        "catalogName": "lbcat",
        "relationName": "authors",
        "differences": [
          {
            "difference": {
              "field": "defaultValue",
              "comparedValue": "now()",
              "message": "defaultValue changed from 'CURRENT_TIMESTAMP' to 'now()'",
              "referenceValue": "CURRENT_TIMESTAMP"
            }
          }
        ],
        "name": "added",
        "type": "column",
        "schemaName": "public"
      }
    },
    {
      "changedObject": {
        "catalogName": "lbcat",
        "relationName": "authors",
        "differences": [
          {
            "difference": {
              "field": "type",
              "comparedValue": {
                "radix": 10,
                "characterOctetLength": 13,
                "columnSizeUnit": "BYTE",
                "dataTypeId": 91,
                "typeName": "date"
              },
              "message": "type changed from 'DATE(10)' to 'date'",
              "referenceValue": {
                "radix": 10,
                "columnSizeUnit": "BYTE",
                "columnSize": 10,
                "dataTypeId": 91,
                "typeName": "DATE"
              }
            }
          }
        ],
        "name": "birthdate",
        "type": "column",
        "schemaName": "public"
      }
    }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy