diff --git a/src/test/java/org/avniproject/etl/domain/metadata/diff/CreateTableTest.java b/src/test/java/org/avniproject/etl/domain/metadata/diff/CreateTableTest.java index 152547a..023ae3c 100644 --- a/src/test/java/org/avniproject/etl/domain/metadata/diff/CreateTableTest.java +++ b/src/test/java/org/avniproject/etl/domain/metadata/diff/CreateTableTest.java @@ -23,6 +23,6 @@ public void shouldCreateSqlWithCommonColumns() { TableMetadata tableMetadata = new TableMetadata(); tableMetadata.setName("tableName"); - assertThat(new CreateTable("tableName", new PersonTable(false).columns()).getSql(), containsString("create table schema.tableName (\"id\" integer, \"uuid\" text, \"is_voided\" boolean, \"created_by_id\" integer, \"last_modified_by_id\" integer, \"created_date_time\" timestamp with time zone, \"last_modified_date_time\" timestamp with time zone, \"organisation_id\" integer, \"address_id\" integer, \"registration_date\" date, \"first_name\" text, \"last_name\" text, \"registration_location\" point, \"legacy_id\" text, \"latest_approval_status\" text, \"date_of_birth\" date, \"date_of_birth_verified\" boolean, \"gender\" text );\ngrant all privileges on all tables in schema schema to dbUser;")); + assertThat(new CreateTable("tableName", new PersonTable(false).columns()).getSql(), containsString("create table schema.tableName (\"id\" integer, \"uuid\" text, \"is_voided\" boolean, \"created_by_id\" integer, \"last_modified_by_id\" integer, \"created_date_time\" timestamp with time zone, \"last_modified_date_time\" timestamp with time zone, \"organisation_id\" integer, \"address_id\" integer, \"registration_date\" date, \"first_name\" text, \"last_name\" text, \"registration_location\" point, \"legacy_id\" text, \"latest_approval_status\" text, \"date_of_birth\" date, \"date_of_birth_verified\" boolean, \"gender\" text );\ngrant all privileges on all tables in schema \"schema\" to \"dbUser\";")); } }