From 77ca647e538b1a5888377dc138fbab4cfc755a44 Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 22 Jan 2024 18:04:31 +0000 Subject: [PATCH] Restore snapshotfile --- Snapshot_PROD.json | 469 +++++++-------------------------------------- 1 file changed, 70 insertions(+), 399 deletions(-) diff --git a/Snapshot_PROD.json b/Snapshot_PROD.json index 90696b3..e4f200a 100644 --- a/Snapshot_PROD.json +++ b/Snapshot_PROD.json @@ -1,109 +1,34 @@ { "snapshot": { - "created": "2024-01-19T18:34:07.624", + "created": "2023-08-31T15:03:54.586", "database": { - "productVersion": "8.2.0", + "productVersion": "7.30.0", "shortName": "snowflake", - "majorVersion": "8", - "minorVersion": "2", - "user": "MOLIVAS", + "majorVersion": "7", + "minorVersion": "30", + "user": "MIKEOPUB", "productName": "Snowflake", "url": "jdbc:snowflake://ba89345.us-east-2.aws.snowflakecomputing.com:443/" }, "objects": { - "com.datical.liquibase.ext.storedlogic.function.Function": [ - { - "function": { - "body": "CREATE OR REPLACE FUNCTION \"PI_UDF\"()\nRETURNS FLOAT\nLANGUAGE SQL\nAS '3.141592654::FLOAT';", - "name": "PI_UDF", - "schema": "liquibase.structure.core.Schema#b068169", - "snapshotId": "b068170" - } - } - ] - , "liquibase.structure.core.Catalog": [ { "catalog": { "default": true, "name": "PRODDB", - "snapshotId": "b068168" + "snapshotId": "3801100" } } ] , "liquibase.structure.core.Column": [ - { - "column": { - "name": "ADDRESS", - "nullable": true, - "order": "3!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068197", - "snapshotId": "b068200", - "type": { - "characterOctetLength": "255!{java.lang.Integer}", - "columnSize": "255!{java.lang.Integer}", - "columnSizeUnit": "BYTE!{liquibase.structure.core.DataType$ColumnSizeUnit}", - "dataTypeId": "12!{java.lang.Integer}", - "typeName": "VARCHAR" - } - } - }, - { - "column": { - "name": "ADDRESS", - "nullable": true, - "order": "3!{java.lang.Integer}", - "relation": "liquibase.structure.core.View#b068171", - "snapshotId": "b068174", - "type": { - "characterOctetLength": "255!{java.lang.Integer}", - "columnSize": "255!{java.lang.Integer}", - "columnSizeUnit": "BYTE!{liquibase.structure.core.DataType$ColumnSizeUnit}", - "dataTypeId": "12!{java.lang.Integer}", - "typeName": "VARCHAR" - } - } - }, - { - "column": { - "name": "AGE", - "nullable": true, - "order": "5!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068197", - "snapshotId": "b068202", - "type": { - "characterOctetLength": "16777216!{java.lang.Integer}", - "columnSize": "16777216!{java.lang.Integer}", - "columnSizeUnit": "BYTE!{liquibase.structure.core.DataType$ColumnSizeUnit}", - "dataTypeId": "12!{java.lang.Integer}", - "typeName": "VARCHAR" - } - } - }, - { - "column": { - "name": "AGE", - "nullable": true, - "order": "5!{java.lang.Integer}", - "relation": "liquibase.structure.core.View#b068171", - "snapshotId": "b068176", - "type": { - "characterOctetLength": "16777216!{java.lang.Integer}", - "columnSize": "16777216!{java.lang.Integer}", - "columnSizeUnit": "BYTE!{liquibase.structure.core.DataType$ColumnSizeUnit}", - "dataTypeId": "12!{java.lang.Integer}", - "typeName": "VARCHAR" - } - } - }, { "column": { "name": "AUTHOR", "nullable": false, "order": "2!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068179", - "snapshotId": "b068181", + "relation": "liquibase.structure.core.Table#3801102", + "snapshotId": "3801104", "type": { "characterOctetLength": "255!{java.lang.Integer}", "columnSize": "255!{java.lang.Integer}", @@ -113,141 +38,13 @@ } } }, - { - "column": { - "name": "C1", - "nullable": true, - "order": "1!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068197", - "snapshotId": "b068198", - "type": { - "characterOctetLength": "16777216!{java.lang.Integer}", - "columnSize": "16777216!{java.lang.Integer}", - "columnSizeUnit": "BYTE!{liquibase.structure.core.DataType$ColumnSizeUnit}", - "dataTypeId": "12!{java.lang.Integer}", - "typeName": "VARCHAR" - } - } - }, - { - "column": { - "name": "C1", - "nullable": true, - "order": "1!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068194", - "snapshotId": "b068195", - "type": { - "characterOctetLength": "16777216!{java.lang.Integer}", - "columnSize": "16777216!{java.lang.Integer}", - "columnSizeUnit": "BYTE!{liquibase.structure.core.DataType$ColumnSizeUnit}", - "dataTypeId": "12!{java.lang.Integer}", - "typeName": "VARCHAR" - } - } - }, - { - "column": { - "name": "C1", - "nullable": true, - "order": "1!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068210", - "snapshotId": "b068211", - "type": { - "characterOctetLength": "16777216!{java.lang.Integer}", - "columnSize": "16777216!{java.lang.Integer}", - "columnSizeUnit": "BYTE!{liquibase.structure.core.DataType$ColumnSizeUnit}", - "dataTypeId": "12!{java.lang.Integer}", - "typeName": "VARCHAR" - } - } - }, - { - "column": { - "name": "C1", - "nullable": true, - "order": "1!{java.lang.Integer}", - "relation": "liquibase.structure.core.View#b068171", - "snapshotId": "b068172", - "type": { - "characterOctetLength": "16777216!{java.lang.Integer}", - "columnSize": "16777216!{java.lang.Integer}", - "columnSizeUnit": "BYTE!{liquibase.structure.core.DataType$ColumnSizeUnit}", - "dataTypeId": "12!{java.lang.Integer}", - "typeName": "VARCHAR" - } - } - }, - { - "column": { - "name": "C2", - "nullable": true, - "order": "2!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068197", - "snapshotId": "b068199", - "type": { - "characterOctetLength": "16777216!{java.lang.Integer}", - "columnSize": "16777216!{java.lang.Integer}", - "columnSizeUnit": "BYTE!{liquibase.structure.core.DataType$ColumnSizeUnit}", - "dataTypeId": "12!{java.lang.Integer}", - "typeName": "VARCHAR" - } - } - }, - { - "column": { - "name": "C2", - "nullable": true, - "order": "2!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068194", - "snapshotId": "b068196", - "type": { - "characterOctetLength": "16777216!{java.lang.Integer}", - "columnSize": "16777216!{java.lang.Integer}", - "columnSizeUnit": "BYTE!{liquibase.structure.core.DataType$ColumnSizeUnit}", - "dataTypeId": "12!{java.lang.Integer}", - "typeName": "VARCHAR" - } - } - }, - { - "column": { - "name": "C2", - "nullable": true, - "order": "2!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068210", - "snapshotId": "b068212", - "type": { - "characterOctetLength": "16777216!{java.lang.Integer}", - "columnSize": "16777216!{java.lang.Integer}", - "columnSizeUnit": "BYTE!{liquibase.structure.core.DataType$ColumnSizeUnit}", - "dataTypeId": "12!{java.lang.Integer}", - "typeName": "VARCHAR" - } - } - }, - { - "column": { - "name": "C2", - "nullable": true, - "order": "2!{java.lang.Integer}", - "relation": "liquibase.structure.core.View#b068171", - "snapshotId": "b068173", - "type": { - "characterOctetLength": "16777216!{java.lang.Integer}", - "columnSize": "16777216!{java.lang.Integer}", - "columnSizeUnit": "BYTE!{liquibase.structure.core.DataType$ColumnSizeUnit}", - "dataTypeId": "12!{java.lang.Integer}", - "typeName": "VARCHAR" - } - } - }, { "column": { "name": "COMMENTS", "nullable": true, "order": "9!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068179", - "snapshotId": "b068188", + "relation": "liquibase.structure.core.Table#3801102", + "snapshotId": "3801111", "type": { "characterOctetLength": "255!{java.lang.Integer}", "columnSize": "255!{java.lang.Integer}", @@ -262,8 +59,8 @@ "name": "CONTEXTS", "nullable": true, "order": "12!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068179", - "snapshotId": "b068191", + "relation": "liquibase.structure.core.Table#3801102", + "snapshotId": "3801114", "type": { "characterOctetLength": "255!{java.lang.Integer}", "columnSize": "255!{java.lang.Integer}", @@ -278,8 +75,8 @@ "name": "DATEEXECUTED", "nullable": false, "order": "4!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068179", - "snapshotId": "b068183", + "relation": "liquibase.structure.core.Table#3801102", + "snapshotId": "3801106", "type": { "columnSize": "9!{java.lang.Integer}", "columnSizeUnit": "BYTE!{liquibase.structure.core.DataType$ColumnSizeUnit}", @@ -293,8 +90,8 @@ "name": "DEPLOYMENT_ID", "nullable": true, "order": "14!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068179", - "snapshotId": "b068193", + "relation": "liquibase.structure.core.Table#3801102", + "snapshotId": "3801116", "type": { "characterOctetLength": "10!{java.lang.Integer}", "columnSize": "10!{java.lang.Integer}", @@ -309,8 +106,8 @@ "name": "DESCRIPTION", "nullable": true, "order": "8!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068179", - "snapshotId": "b068187", + "relation": "liquibase.structure.core.Table#3801102", + "snapshotId": "3801110", "type": { "characterOctetLength": "255!{java.lang.Integer}", "columnSize": "255!{java.lang.Integer}", @@ -325,8 +122,8 @@ "name": "EXECTYPE", "nullable": false, "order": "6!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068179", - "snapshotId": "b068185", + "relation": "liquibase.structure.core.Table#3801102", + "snapshotId": "3801108", "type": { "characterOctetLength": "10!{java.lang.Integer}", "columnSize": "10!{java.lang.Integer}", @@ -341,8 +138,8 @@ "name": "FILENAME", "nullable": false, "order": "3!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068179", - "snapshotId": "b068182", + "relation": "liquibase.structure.core.Table#3801102", + "snapshotId": "3801105", "type": { "characterOctetLength": "255!{java.lang.Integer}", "columnSize": "255!{java.lang.Integer}", @@ -357,8 +154,8 @@ "name": "ID", "nullable": false, "order": "1!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068179", - "snapshotId": "b068180", + "relation": "liquibase.structure.core.Table#3801102", + "snapshotId": "3801103", "type": { "characterOctetLength": "255!{java.lang.Integer}", "columnSize": "255!{java.lang.Integer}", @@ -373,8 +170,8 @@ "name": "ID", "nullable": false, "order": "1!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068204", - "snapshotId": "b068205", + "relation": "liquibase.structure.core.Table#3801117", + "snapshotId": "3801118", "type": { "columnSize": "38!{java.lang.Integer}", "columnSizeUnit": "BYTE!{liquibase.structure.core.DataType$ColumnSizeUnit}", @@ -388,8 +185,8 @@ "name": "LABELS", "nullable": true, "order": "13!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068179", - "snapshotId": "b068192", + "relation": "liquibase.structure.core.Table#3801102", + "snapshotId": "3801115", "type": { "characterOctetLength": "255!{java.lang.Integer}", "columnSize": "255!{java.lang.Integer}", @@ -404,8 +201,8 @@ "name": "LIQUIBASE", "nullable": true, "order": "11!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068179", - "snapshotId": "b068190", + "relation": "liquibase.structure.core.Table#3801102", + "snapshotId": "3801113", "type": { "characterOctetLength": "20!{java.lang.Integer}", "columnSize": "20!{java.lang.Integer}", @@ -420,8 +217,8 @@ "name": "LOCKED", "nullable": false, "order": "2!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068204", - "snapshotId": "b068206", + "relation": "liquibase.structure.core.Table#3801117", + "snapshotId": "3801119", "type": { "columnSizeUnit": "BYTE!{liquibase.structure.core.DataType$ColumnSizeUnit}", "dataTypeId": "16!{java.lang.Integer}", @@ -434,8 +231,8 @@ "name": "LOCKEDBY", "nullable": true, "order": "4!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068204", - "snapshotId": "b068208", + "relation": "liquibase.structure.core.Table#3801117", + "snapshotId": "3801121", "type": { "characterOctetLength": "255!{java.lang.Integer}", "columnSize": "255!{java.lang.Integer}", @@ -450,8 +247,8 @@ "name": "LOCKGRANTED", "nullable": true, "order": "3!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068204", - "snapshotId": "b068207", + "relation": "liquibase.structure.core.Table#3801117", + "snapshotId": "3801120", "type": { "columnSize": "9!{java.lang.Integer}", "columnSizeUnit": "BYTE!{liquibase.structure.core.DataType$ColumnSizeUnit}", @@ -465,8 +262,8 @@ "name": "MD5SUM", "nullable": true, "order": "7!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068179", - "snapshotId": "b068186", + "relation": "liquibase.structure.core.Table#3801102", + "snapshotId": "3801109", "type": { "characterOctetLength": "35!{java.lang.Integer}", "columnSize": "35!{java.lang.Integer}", @@ -481,8 +278,8 @@ "name": "ORDEREXECUTED", "nullable": false, "order": "5!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068179", - "snapshotId": "b068184", + "relation": "liquibase.structure.core.Table#3801102", + "snapshotId": "3801107", "type": { "columnSize": "38!{java.lang.Integer}", "columnSizeUnit": "BYTE!{liquibase.structure.core.DataType$ColumnSizeUnit}", @@ -496,8 +293,8 @@ "name": "TAG", "nullable": true, "order": "10!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068179", - "snapshotId": "b068189", + "relation": "liquibase.structure.core.Table#3801102", + "snapshotId": "3801112", "type": { "characterOctetLength": "255!{java.lang.Integer}", "columnSize": "255!{java.lang.Integer}", @@ -506,38 +303,6 @@ "typeName": "VARCHAR" } } - }, - { - "column": { - "name": "name", - "nullable": true, - "order": "4!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#b068197", - "snapshotId": "b068201", - "type": { - "characterOctetLength": "50!{java.lang.Integer}", - "columnSize": "50!{java.lang.Integer}", - "columnSizeUnit": "BYTE!{liquibase.structure.core.DataType$ColumnSizeUnit}", - "dataTypeId": "12!{java.lang.Integer}", - "typeName": "VARCHAR" - } - } - }, - { - "column": { - "name": "name", - "nullable": true, - "order": "4!{java.lang.Integer}", - "relation": "liquibase.structure.core.View#b068171", - "snapshotId": "b068175", - "type": { - "characterOctetLength": "50!{java.lang.Integer}", - "columnSize": "50!{java.lang.Integer}", - "columnSizeUnit": "BYTE!{liquibase.structure.core.DataType$ColumnSizeUnit}", - "dataTypeId": "12!{java.lang.Integer}", - "typeName": "VARCHAR" - } - } } ] , @@ -545,24 +310,12 @@ { "primaryKey": { "columns": [ - "liquibase.structure.core.Column#b068205" + "liquibase.structure.core.Column#3801118" ] , "name": "PK_DATABASECHANGELOGLOCK", - "snapshotId": "b068209", - "table": "liquibase.structure.core.Table#b068204" - } - }, - { - "primaryKey": { - "columns": [ - "liquibase.structure.core.Column#b068198", - "liquibase.structure.core.Column#b068199" - ] - , - "name": "PK_PERSON", - "snapshotId": "b068203", - "table": "liquibase.structure.core.Table#b068197" + "snapshotId": "3801122", + "table": "liquibase.structure.core.Table#3801117" } } ] @@ -570,29 +323,10 @@ "liquibase.structure.core.Schema": [ { "schema": { - "catalog": "liquibase.structure.core.Catalog#b068168", + "catalog": "liquibase.structure.core.Catalog#3801100", "default": true, "name": "PUBLIC", - "snapshotId": "b068169" - } - } - ] - , - "liquibase.structure.core.StoredProcedure": [ - { - "storedProcedure": { - "body": "CREATE OR REPLACE PROCEDURE \"READ_RESULT_SET\"()\nRETURNS FLOAT\nLANGUAGE JAVASCRIPT\nEXECUTE AS OWNER\nAS ' \n var my_sql_command = \"select * from table1\";\n var statement1 = snowflake.createStatement( {sqlText: my_sql_command} );\n var result_set1 = statement1.execute();\n // Loop through the results, processing one row at a time... \n while (result_set1.next()) {\n var column1 = result_set1.getColumnValue(1);\n var column2 = result_set1.getColumnValue(2);\n // Do something with the retrieved values...\n }\n return 0.0; // Replace with something more useful.\n ';", - "name": "READ_RESULT_SET", - "schema": "liquibase.structure.core.Schema#b068169", - "snapshotId": "b068177" - } - }, - { - "storedProcedure": { - "body": "CREATE OR REPLACE PROCEDURE \"RETURN_GREATER\"(\"NUMBER_1\" NUMBER(38,0), \"NUMBER_2\" NUMBER(38,0))\nRETURNS NUMBER(38,0)\nLANGUAGE SQL\nEXECUTE AS OWNER\nAS 'BEGIN\n IF (number_1 < number_2) THEN\n RETURN number_1;\n ELSE\n RETURN number_2;\n END IF;\nEND';", - "name": "RETURN_GREATER", - "schema": "liquibase.structure.core.Schema#b068169", - "snapshotId": "b068178" + "snapshotId": "3801101" } } ] @@ -601,105 +335,42 @@ { "table": { "columns": [ - "liquibase.structure.core.Column#b068198", - "liquibase.structure.core.Column#b068199", - "liquibase.structure.core.Column#b068200", - "liquibase.structure.core.Column#b068201", - "liquibase.structure.core.Column#b068202" - ] - , - "default_tablespace": false, - "name": "CUSTOMER", - "primaryKey": "liquibase.structure.core.PrimaryKey#b068203", - "schema": "liquibase.structure.core.Schema#b068169", - "snapshotId": "b068197" - } - }, - { - "table": { - "columns": [ - "liquibase.structure.core.Column#b068180", - "liquibase.structure.core.Column#b068181", - "liquibase.structure.core.Column#b068182", - "liquibase.structure.core.Column#b068183", - "liquibase.structure.core.Column#b068184", - "liquibase.structure.core.Column#b068185", - "liquibase.structure.core.Column#b068186", - "liquibase.structure.core.Column#b068187", - "liquibase.structure.core.Column#b068188", - "liquibase.structure.core.Column#b068189", - "liquibase.structure.core.Column#b068190", - "liquibase.structure.core.Column#b068191", - "liquibase.structure.core.Column#b068192", - "liquibase.structure.core.Column#b068193" + "liquibase.structure.core.Column#3801103", + "liquibase.structure.core.Column#3801104", + "liquibase.structure.core.Column#3801105", + "liquibase.structure.core.Column#3801106", + "liquibase.structure.core.Column#3801107", + "liquibase.structure.core.Column#3801108", + "liquibase.structure.core.Column#3801109", + "liquibase.structure.core.Column#3801110", + "liquibase.structure.core.Column#3801111", + "liquibase.structure.core.Column#3801112", + "liquibase.structure.core.Column#3801113", + "liquibase.structure.core.Column#3801114", + "liquibase.structure.core.Column#3801115", + "liquibase.structure.core.Column#3801116" ] , "default_tablespace": false, "name": "DATABASECHANGELOG", - "schema": "liquibase.structure.core.Schema#b068169", - "snapshotId": "b068179" + "schema": "liquibase.structure.core.Schema#3801101", + "snapshotId": "3801102" } }, { "table": { "columns": [ - "liquibase.structure.core.Column#b068205", - "liquibase.structure.core.Column#b068206", - "liquibase.structure.core.Column#b068207", - "liquibase.structure.core.Column#b068208" + "liquibase.structure.core.Column#3801118", + "liquibase.structure.core.Column#3801119", + "liquibase.structure.core.Column#3801120", + "liquibase.structure.core.Column#3801121" ] , "default_tablespace": false, "name": "DATABASECHANGELOGLOCK", - "primaryKey": "liquibase.structure.core.PrimaryKey#b068209", - "schema": "liquibase.structure.core.Schema#b068169", - "snapshotId": "b068204" - } - }, - { - "table": { - "columns": [ - "liquibase.structure.core.Column#b068195", - "liquibase.structure.core.Column#b068196" - ] - , - "default_tablespace": false, - "name": "MYTABLE55", - "schema": "liquibase.structure.core.Schema#b068169", - "snapshotId": "b068194" - } - }, - { - "table": { - "columns": [ - "liquibase.structure.core.Column#b068211", - "liquibase.structure.core.Column#b068212" - ] - , - "default_tablespace": false, - "name": "MYTABLE6", - "schema": "liquibase.structure.core.Schema#b068169", - "snapshotId": "b068210" - } - } - ] - , - "liquibase.structure.core.View": [ - { - "view": { - "columns": [ - "liquibase.structure.core.Column#b068172", - "liquibase.structure.core.Column#b068173", - "liquibase.structure.core.Column#b068174", - "liquibase.structure.core.Column#b068175", - "liquibase.structure.core.Column#b068176" - ] - , - "definition": "SELECT * FROM CUSTOMER", - "name": "MYVIEW_CUSTOMER", - "remarks": "", - "schema": "liquibase.structure.core.Schema#b068169", - "snapshotId": "b068171" + "primaryKey": "liquibase.structure.core.PrimaryKey#3801122", + "schema": "liquibase.structure.core.Schema#3801101", + "snapshotId": "3801117" } } ]