diff --git a/Snapshot_PROD.json b/Snapshot_PROD.json index c9d76d7..e4f200a 100644 --- a/Snapshot_PROD.json +++ b/Snapshot_PROD.json @@ -1,109 +1,34 @@ { "snapshot": { - "created": "2023-09-08T15:39:14.34", + "created": "2023-08-31T15:03:54.586", "database": { - "productVersion": "7.31.1", + "productVersion": "7.30.0", "shortName": "snowflake", "majorVersion": "7", - "minorVersion": "31", - "user": "MOLIVAS", + "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#f24a184", - "snapshotId": "f24a221" - } - } - ] - , "liquibase.structure.core.Catalog": [ { "catalog": { "default": true, "name": "PRODDB", - "snapshotId": "f24a183" + "snapshotId": "3801100" } } ] , "liquibase.structure.core.Column": [ - { - "column": { - "name": "ADDRESS", - "nullable": true, - "order": "3!{java.lang.Integer}", - "relation": "liquibase.structure.core.Table#f24a205", - "snapshotId": "f24a208", - "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#f24a222", - "snapshotId": "f24a225", - "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#f24a205", - "snapshotId": "f24a210", - "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#f24a222", - "snapshotId": "f24a227", - "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#f24a187", - "snapshotId": "f24a189", + "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#f24a205", - "snapshotId": "f24a206", - "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#f24a202", - "snapshotId": "f24a203", - "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#f24a218", - "snapshotId": "f24a219", - "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#f24a222", - "snapshotId": "f24a223", - "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#f24a205", - "snapshotId": "f24a207", - "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#f24a202", - "snapshotId": "f24a204", - "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#f24a218", - "snapshotId": "f24a220", - "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#f24a222", - "snapshotId": "f24a224", - "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#f24a187", - "snapshotId": "f24a196", + "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#f24a187", - "snapshotId": "f24a199", + "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#f24a187", - "snapshotId": "f24a191", + "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#f24a187", - "snapshotId": "f24a201", + "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#f24a187", - "snapshotId": "f24a195", + "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#f24a187", - "snapshotId": "f24a193", + "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#f24a187", - "snapshotId": "f24a190", + "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#f24a187", - "snapshotId": "f24a188", + "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#f24a212", - "snapshotId": "f24a213", + "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#f24a187", - "snapshotId": "f24a200", + "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#f24a187", - "snapshotId": "f24a198", + "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#f24a212", - "snapshotId": "f24a214", + "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#f24a212", - "snapshotId": "f24a216", + "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#f24a212", - "snapshotId": "f24a215", + "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#f24a187", - "snapshotId": "f24a194", + "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#f24a187", - "snapshotId": "f24a192", + "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#f24a187", - "snapshotId": "f24a197", + "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#f24a205", - "snapshotId": "f24a209", - "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#f24a222", - "snapshotId": "f24a226", - "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#f24a213" + "liquibase.structure.core.Column#3801118" ] , "name": "PK_DATABASECHANGELOGLOCK", - "snapshotId": "f24a217", - "table": "liquibase.structure.core.Table#f24a212" - } - }, - { - "primaryKey": { - "columns": [ - "liquibase.structure.core.Column#f24a206", - "liquibase.structure.core.Column#f24a207" - ] - , - "name": "PK_PERSON", - "snapshotId": "f24a211", - "table": "liquibase.structure.core.Table#f24a205" + "snapshotId": "3801122", + "table": "liquibase.structure.core.Table#3801117" } } ] @@ -570,29 +323,10 @@ "liquibase.structure.core.Schema": [ { "schema": { - "catalog": "liquibase.structure.core.Catalog#f24a183", + "catalog": "liquibase.structure.core.Catalog#3801100", "default": true, "name": "PUBLIC", - "snapshotId": "f24a184" - } - } - ] - , - "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#f24a184", - "snapshotId": "f24a185" - } - }, - { - "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#f24a184", - "snapshotId": "f24a186" + "snapshotId": "3801101" } } ] @@ -601,105 +335,42 @@ { "table": { "columns": [ - "liquibase.structure.core.Column#f24a206", - "liquibase.structure.core.Column#f24a207", - "liquibase.structure.core.Column#f24a208", - "liquibase.structure.core.Column#f24a209", - "liquibase.structure.core.Column#f24a210" - ] - , - "default_tablespace": false, - "name": "CUSTOMER", - "primaryKey": "liquibase.structure.core.PrimaryKey#f24a211", - "schema": "liquibase.structure.core.Schema#f24a184", - "snapshotId": "f24a205" - } - }, - { - "table": { - "columns": [ - "liquibase.structure.core.Column#f24a188", - "liquibase.structure.core.Column#f24a189", - "liquibase.structure.core.Column#f24a190", - "liquibase.structure.core.Column#f24a191", - "liquibase.structure.core.Column#f24a192", - "liquibase.structure.core.Column#f24a193", - "liquibase.structure.core.Column#f24a194", - "liquibase.structure.core.Column#f24a195", - "liquibase.structure.core.Column#f24a196", - "liquibase.structure.core.Column#f24a197", - "liquibase.structure.core.Column#f24a198", - "liquibase.structure.core.Column#f24a199", - "liquibase.structure.core.Column#f24a200", - "liquibase.structure.core.Column#f24a201" + "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#f24a184", - "snapshotId": "f24a187" + "schema": "liquibase.structure.core.Schema#3801101", + "snapshotId": "3801102" } }, { "table": { "columns": [ - "liquibase.structure.core.Column#f24a213", - "liquibase.structure.core.Column#f24a214", - "liquibase.structure.core.Column#f24a215", - "liquibase.structure.core.Column#f24a216" + "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#f24a217", - "schema": "liquibase.structure.core.Schema#f24a184", - "snapshotId": "f24a212" - } - }, - { - "table": { - "columns": [ - "liquibase.structure.core.Column#f24a203", - "liquibase.structure.core.Column#f24a204" - ] - , - "default_tablespace": false, - "name": "MYTABLE55", - "schema": "liquibase.structure.core.Schema#f24a184", - "snapshotId": "f24a202" - } - }, - { - "table": { - "columns": [ - "liquibase.structure.core.Column#f24a219", - "liquibase.structure.core.Column#f24a220" - ] - , - "default_tablespace": false, - "name": "MYTABLE6", - "schema": "liquibase.structure.core.Schema#f24a184", - "snapshotId": "f24a218" - } - } - ] - , - "liquibase.structure.core.View": [ - { - "view": { - "columns": [ - "liquibase.structure.core.Column#f24a223", - "liquibase.structure.core.Column#f24a224", - "liquibase.structure.core.Column#f24a225", - "liquibase.structure.core.Column#f24a226", - "liquibase.structure.core.Column#f24a227" - ] - , - "definition": "SELECT * FROM CUSTOMER", - "name": "MYVIEW_CUSTOMER", - "remarks": "", - "schema": "liquibase.structure.core.Schema#f24a184", - "snapshotId": "f24a222" + "primaryKey": "liquibase.structure.core.PrimaryKey#3801122", + "schema": "liquibase.structure.core.Schema#3801101", + "snapshotId": "3801117" } } ]