From a5d03ef312d1f894148f721f8bdf8cac2eb45b09 Mon Sep 17 00:00:00 2001 From: Jan Skrasek Date: Sat, 4 Nov 2023 17:26:57 +0100 Subject: [PATCH] fix recored queries for latest Dbal update --- ...gregationTest_testAvgOnEmptyCollection.sql | 2 +- ...egationTest_testMaxWithEmptyCollection.sql | 2 +- ...egationTest_testMinWithEmptyCollection.sql | 2 +- ...ConditionsInDifferentJoinsAndSameTable.sql | 2 +- .../CollectionTest_testJoinDifferentPath.sql | 6 +- ...nWhereTest_testFilterByPropertyWrapper.sql | 4 +- ...tityCloningTest_testCloningManyHasMany.sql | 12 +- ...ntityCloningTest_testCloningOneHasMany.sql | 2 +- .../Entity/NewEntityTest_testInsert.sql | 2 +- .../ConventionsTest_testTimezoneDetection.sql | 6 +- ...perDateTimeSimpleTest_testToCollection.sql | 2 +- .../EntityRelationshipsTest_testBasics.sql | 8 +- ...nshipCyclicTest_testCycleManualPersist.sql | 8 +- .../RelationshipCyclicTest_testNotCycle.sql | 8 +- ...t_testCountAfterRemoveAndFlushAndCount.sql | 6 +- ...sManyTest_testJoinAcrossDifferentPaths.sql | 2 +- ...lationshipManyHasManyTest_testRawValue.sql | 2 +- ...ManyHasManyTest_testRepeatedPersisting.sql | 4 +- ...ipManyHasOneTest_testPersistenceHasOne.sql | 4 +- ...HasManyRemoveTest_testRemoveCollection.sql | 4 +- ...moveTest_testRemoveCollectionAndParent.sql | 4 +- ...est_testRemoveNoCascadeEmptyCollection.sql | 2 +- ...t_testCountAfterRemoveAndFlushAndCount.sql | 8 +- .../RelationshipOneHasManyTest_testLimit.sql | 2 +- ...tionshipOneHasManyTest_testPersistence.sql | 20 +- ...elationshipOneHasManyTest_testRawValue.sql | 2 +- ...ionshipOneHasOneTest_testCascadeRemove.sql | 2 +- ...neHasOneTest_testCascadeRemoveWithNull.sql | 2 +- ...lationshipOneHasOneTest_testCollection.sql | 4 +- ...ationshipOneHasOneTest_testGetRawValue.sql | 2 +- ...RelationshipOneHasOneTest_testHasValue.sql | 2 +- ...ationshipOneHasOneTest_testPersistence.sql | 4 +- ...asOneTest_testPersistenceFromOtherSide.sql | 4 +- ...tionshipOneHasOneTest_testQueryBuilder.sql | 4 +- ...onshipOneHasOneTest_testReadOnNullable.sql | 4 +- .../RelationshipOneHasOneTest_testRemove.sql | 2 +- ...nshipsHasManyCollectionTest_testFindBy.sql | 2 +- ...nshipsHasManyCollectionTest_testSelect.sql | 2 +- ...hipsManyHasManyCollectionTest_testAddA.sql | 2 +- ...hipsManyHasManyCollectionTest_testAddB.sql | 2 +- ...hipsManyHasManyCollectionTest_testAddC.sql | 2 +- ...hipsManyHasManyCollectionTest_testAddD.sql | 4 +- ...hipsManyHasManyCollectionTest_testAddE.sql | 4 +- ...hipsManyHasManyCollectionTest_testAddF.sql | 4 +- ...hipsManyHasManyCollectionTest_testAddH.sql | 4 +- ...hipsManyHasManyCollectionTest_testAddI.sql | 4 +- ...shipsOneHasManyCollectionTest_testAddA.sql | 2 +- ...shipsOneHasManyCollectionTest_testAddB.sql | 2 +- ...shipsOneHasManyCollectionTest_testAddC.sql | 2 +- ...shipsOneHasManyCollectionTest_testAddD.sql | 4 +- ...shipsOneHasManyCollectionTest_testAddE.sql | 4 +- ...shipsOneHasManyCollectionTest_testAddF.sql | 4 +- ...shipsOneHasManyCollectionTest_testAddH.sql | 4 +- ...shipsOneHasManyCollectionTest_testAddI.sql | 4 +- ...anyPersistenceTest_testCollectionState.sql | 6 +- ...eHasManyPersistenceTest_testPersisting.sql | 10 +- ...PersistenceTest_testRepeatedPersisting.sql | 6 +- ...itoryCallbacksTest_testOnBeforePersist.sql | 6 +- .../RepositoryCallbacksTest_testOnFlush.sql | 6 +- ...scadeRemoveTest_testBasicCascadeRemove.sql | 2 +- ...ositoryIdentityMapTest_testPersistence.sql | 4 +- ...istenceTest_testComplexPersistenceTree.sql | 880 +++++++++--------- ...ositoryPersistenceTest_testManyHasMany.sql | 28 +- ...yPersistenceTest_testOneHasOneDirected.sql | 8 +- ...stenceTest_testUnsettedNotNullProperty.sql | 2 +- 65 files changed, 585 insertions(+), 585 deletions(-) diff --git a/tests/sqls/NextrasTests/Orm/Integration/Collection/CollectionAggregationTest_testAvgOnEmptyCollection.sql b/tests/sqls/NextrasTests/Orm/Integration/Collection/CollectionAggregationTest_testAvgOnEmptyCollection.sql index 118a8523..92cb3b90 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Collection/CollectionAggregationTest_testAvgOnEmptyCollection.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Collection/CollectionAggregationTest_testAvgOnEmptyCollection.sql @@ -1,5 +1,5 @@ START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Test 3', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); COMMIT; SELECT "authors".* FROM "public"."authors" AS "authors" LEFT JOIN "books" AS "books__AVG" ON ("authors"."id" = "books__AVG"."author_id") GROUP BY "authors"."id" ORDER BY AVG("books__AVG"."price") ASC NULLS FIRST, "authors"."id" ASC; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Collection/CollectionAggregationTest_testMaxWithEmptyCollection.sql b/tests/sqls/NextrasTests/Orm/Integration/Collection/CollectionAggregationTest_testMaxWithEmptyCollection.sql index 8b1e19a3..ccad0a24 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Collection/CollectionAggregationTest_testMaxWithEmptyCollection.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Collection/CollectionAggregationTest_testMaxWithEmptyCollection.sql @@ -1,5 +1,5 @@ START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Test 3', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); COMMIT; SELECT "authors".* FROM "public"."authors" AS "authors" LEFT JOIN "books" AS "books__MAX" ON ("authors"."id" = "books__MAX"."author_id") GROUP BY "authors"."id" ORDER BY MAX("books__MAX"."price") ASC NULLS FIRST, "authors"."id" ASC; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Collection/CollectionAggregationTest_testMinWithEmptyCollection.sql b/tests/sqls/NextrasTests/Orm/Integration/Collection/CollectionAggregationTest_testMinWithEmptyCollection.sql index ff7314fc..51fc7ce4 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Collection/CollectionAggregationTest_testMinWithEmptyCollection.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Collection/CollectionAggregationTest_testMinWithEmptyCollection.sql @@ -1,5 +1,5 @@ START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Test 3', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); COMMIT; SELECT "authors".* FROM "public"."authors" AS "authors" LEFT JOIN "books" AS "books__MIN" ON ("authors"."id" = "books__MIN"."author_id") GROUP BY "authors"."id" ORDER BY MIN("books__MIN"."price") ASC NULLS FIRST, "authors"."id" ASC; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Collection/CollectionTest_testConditionsInDifferentJoinsAndSameTable.sql b/tests/sqls/NextrasTests/Orm/Integration/Collection/CollectionTest_testConditionsInDifferentJoinsAndSameTable.sql index f131d3e7..4511fae1 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Collection/CollectionTest_testConditionsInDifferentJoinsAndSameTable.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Collection/CollectionTest_testConditionsInDifferentJoinsAndSameTable.sql @@ -3,6 +3,6 @@ SELECT "authors".* FROM "public"."authors" AS "authors" WHERE (("authors"."id" = SELECT "publishers".* FROM "publishers" AS "publishers" WHERE (("publishers"."publisher_id" = 1)); START TRANSACTION; INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Books 5', 1, 2, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); COMMIT; SELECT "books".* FROM "books" AS "books" LEFT JOIN "public"."authors" AS "author" ON ("books"."author_id" = "author"."id") LEFT JOIN "public"."authors" AS "translator" ON ("books"."translator_id" = "translator"."id") WHERE (("author"."name" = 'Writer 1') AND ("translator"."web" = 'http://example.com/2')); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Collection/CollectionTest_testJoinDifferentPath.sql b/tests/sqls/NextrasTests/Orm/Integration/Collection/CollectionTest_testJoinDifferentPath.sql index f9c05142..6415bfac 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Collection/CollectionTest_testJoinDifferentPath.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Collection/CollectionTest_testJoinDifferentPath.sql @@ -1,7 +1,7 @@ SELECT "books".* FROM "books" AS "books" WHERE (("books"."id" = 3)); START TRANSACTION; INSERT INTO "eans" ("code", "type") VALUES ('123', 2); -SELECT CURRVAL('eans_id_seq'); +SELECT CURRVAL('"eans_id_seq"'); UPDATE "books" SET "ean_id" = 1 WHERE "id" = 3; COMMIT; SELECT "authors".* FROM "public"."authors" AS "authors" WHERE (("authors"."id" = 1)); @@ -9,8 +9,8 @@ SELECT "publishers".* FROM "publishers" AS "publishers" WHERE (("publishers"."pu SELECT "books".* FROM "books" AS "books" WHERE (("books"."id" = 4)); START TRANSACTION; INSERT INTO "eans" ("code", "type") VALUES ('456', 2); -SELECT CURRVAL('eans_id_seq'); +SELECT CURRVAL('"eans_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 5', 1, NULL, 4, 2, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); COMMIT; SELECT "books".* FROM "books" AS "books" LEFT JOIN "books" AS "nextPart" ON ("books"."next_part" = "nextPart"."id") LEFT JOIN "eans" AS "nextPart_ean" ON ("nextPart"."ean_id" = "nextPart_ean"."id") LEFT JOIN "books" AS "previousPart" ON ("books"."id" = "previousPart"."next_part") LEFT JOIN "eans" AS "previousPart_ean" ON ("previousPart"."ean_id" = "previousPart_ean"."id") WHERE (("nextPart_ean"."code" = '123') AND ("previousPart_ean"."code" = '456')); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Collection/CollectionWhereTest_testFilterByPropertyWrapper.sql b/tests/sqls/NextrasTests/Orm/Integration/Collection/CollectionWhereTest_testFilterByPropertyWrapper.sql index d3cc10ad..de37dd91 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Collection/CollectionWhereTest_testFilterByPropertyWrapper.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Collection/CollectionWhereTest_testFilterByPropertyWrapper.sql @@ -1,11 +1,11 @@ SELECT "books".* FROM "books" AS "books" WHERE (("books"."id" = 1)); START TRANSACTION; INSERT INTO "eans" ("code", "type") VALUES ('123', 2); -SELECT CURRVAL('eans_id_seq'); +SELECT CURRVAL('"eans_id_seq"'); UPDATE "books" SET "ean_id" = 1 WHERE "id" = 1; SELECT "books".* FROM "books" AS "books" WHERE (("books"."id" = 2)); INSERT INTO "eans" ("code", "type") VALUES ('456', 1); -SELECT CURRVAL('eans_id_seq'); +SELECT CURRVAL('"eans_id_seq"'); UPDATE "books" SET "ean_id" = 2 WHERE "id" = 2; COMMIT; SELECT "eans".* FROM "eans" AS "eans"; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Entity/EntityCloningTest_testCloningManyHasMany.sql b/tests/sqls/NextrasTests/Orm/Integration/Entity/EntityCloningTest_testCloningManyHasMany.sql index b16e3f10..5c043c76 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Entity/EntityCloningTest_testCloningManyHasMany.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Entity/EntityCloningTest_testCloningManyHasMany.sql @@ -1,16 +1,16 @@ START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('New Author', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Publisher'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('New Book', 3, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "tags" ("name", "is_global") VALUES ('Tag 1', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); INSERT INTO "tags" ("name", "is_global") VALUES ('Tag 2', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); INSERT INTO "tags" ("name", "is_global") VALUES ('Tag 3', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); INSERT INTO "books_x_tags" ("book_id", "tag_id") VALUES (5, 4), (5, 5), (5, 6); COMMIT; SELECT "books_x_tags"."tag_id", "books_x_tags"."book_id" FROM "tags" AS "tags" LEFT JOIN "books_x_tags" AS "books_x_tags" ON ("books_x_tags"."tag_id" = "tags"."id") WHERE "books_x_tags"."book_id" IN (5); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Entity/EntityCloningTest_testCloningOneHasMany.sql b/tests/sqls/NextrasTests/Orm/Integration/Entity/EntityCloningTest_testCloningOneHasMany.sql index 177508b2..d11b2dfe 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Entity/EntityCloningTest_testCloningOneHasMany.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Entity/EntityCloningTest_testCloningOneHasMany.sql @@ -7,7 +7,7 @@ SELECT "books".* FROM "books" AS "books" WHERE "books"."next_part" IN (1); SELECT "publishers".* FROM "publishers" AS "publishers" WHERE "publishers"."publisher_id" IN (1); START TRANSACTION; INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 1', 1, 1, NULL, NULL, 1, '2021-12-14 21:10:04.000000'::timestamp, NULL, 50, 'CZK', NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books_x_tags" ("book_id", "tag_id") VALUES (5, 1), (5, 2); COMMIT; SELECT "books_x_tags"."book_id", COUNT(DISTINCT "books_x_tags"."tag_id") AS "count" FROM "tags" AS "tags" LEFT JOIN "books_x_tags" AS "books_x_tags" ON ("books_x_tags"."tag_id" = "tags"."id") WHERE "books_x_tags"."book_id" IN (5) GROUP BY "books_x_tags"."book_id"; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Entity/NewEntityTest_testInsert.sql b/tests/sqls/NextrasTests/Orm/Integration/Entity/NewEntityTest_testInsert.sql index 56064c26..61d4b007 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Entity/NewEntityTest_testInsert.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Entity/NewEntityTest_testInsert.sql @@ -1,4 +1,4 @@ START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Jon Snow', '2021-03-21 08:23:00.000000'::timestamp, 'http://nextras.cz', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); COMMIT; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Mapper/ConventionsTest_testTimezoneDetection.sql b/tests/sqls/NextrasTests/Orm/Integration/Mapper/ConventionsTest_testTimezoneDetection.sql index b855c12f..cd715fda 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Mapper/ConventionsTest_testTimezoneDetection.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Mapper/ConventionsTest_testTimezoneDetection.sql @@ -1,9 +1,9 @@ START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('A', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('P'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('B', 3, NULL, NULL, NULL, 4, '2015-09-09 10:10:10.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); COMMIT; SELECT "books".* FROM "books" AS "books" WHERE (("books"."id" = 5)); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Mapper/MapperDateTimeSimpleTest_testToCollection.sql b/tests/sqls/NextrasTests/Orm/Integration/Mapper/MapperDateTimeSimpleTest_testToCollection.sql index 7063b95f..10cc9159 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Mapper/MapperDateTimeSimpleTest_testToCollection.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Mapper/MapperDateTimeSimpleTest_testToCollection.sql @@ -1,5 +1,5 @@ START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Random Author', '2018-01-09 00:00:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); COMMIT; SELECT "authors".* FROM "public"."authors" AS "authors" WHERE (("authors"."id" = 3)); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/EntityRelationshipsTest_testBasics.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/EntityRelationshipsTest_testBasics.sql index 19a932b7..0fbd3eb5 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/EntityRelationshipsTest_testBasics.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/EntityRelationshipsTest_testBasics.sql @@ -1,12 +1,12 @@ START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Jon Snow', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('7K'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('A new book', 3, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "tags" ("name", "is_global") VALUES ('Awesome', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); INSERT INTO "books_x_tags" ("book_id", "tag_id") VALUES (5, 4); COMMIT; SELECT "books_x_tags"."tag_id", "books_x_tags"."book_id" FROM "tags" AS "tags" LEFT JOIN "books_x_tags" AS "books_x_tags" ON ("books_x_tags"."tag_id" = "tags"."id") WHERE "books_x_tags"."book_id" IN (5); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipCyclicTest_testCycleManualPersist.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipCyclicTest_testCycleManualPersist.sql index 1f73f795..34e5d9c6 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipCyclicTest_testCycleManualPersist.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipCyclicTest_testCycleManualPersist.sql @@ -1,10 +1,10 @@ START TRANSACTION; INSERT INTO "photo_albums" ("title", "preview_id") VALUES ('album 1', NULL); -SELECT CURRVAL('photo_albums_id_seq'); +SELECT CURRVAL('"photo_albums_id_seq"'); INSERT INTO "photos" ("title", "album_id") VALUES ('photo 1', 1); -SELECT CURRVAL('photos_id_seq'); +SELECT CURRVAL('"photos_id_seq"'); INSERT INTO "photos" ("title", "album_id") VALUES ('photo 2', 1); -SELECT CURRVAL('photos_id_seq'); +SELECT CURRVAL('"photos_id_seq"'); INSERT INTO "photos" ("title", "album_id") VALUES ('photo 3', 1); -SELECT CURRVAL('photos_id_seq'); +SELECT CURRVAL('"photos_id_seq"'); UPDATE "photo_albums" SET "preview_id" = 2 WHERE "id" = 1; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipCyclicTest_testNotCycle.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipCyclicTest_testNotCycle.sql index 85ec410e..86f264c4 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipCyclicTest_testNotCycle.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipCyclicTest_testNotCycle.sql @@ -1,9 +1,9 @@ START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Dave Lister', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Arnold Judas Rimmer', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', 3); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Jupiter Mining Corporation'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Better Than Life', 4, 3, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipManyHasManyTest_testCountAfterRemoveAndFlushAndCount.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipManyHasManyTest_testCountAfterRemoveAndFlushAndCount.sql index f1cef99d..ac98f7b9 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipManyHasManyTest_testCountAfterRemoveAndFlushAndCount.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipManyHasManyTest_testCountAfterRemoveAndFlushAndCount.sql @@ -2,9 +2,9 @@ SELECT "authors".* FROM "public"."authors" AS "authors" WHERE (("authors"."id" = SELECT "publishers".* FROM "publishers" AS "publishers" WHERE (("publishers"."publisher_id" = 1)); START TRANSACTION; INSERT INTO "tags" ("name", "is_global") VALUES ('Testing Tag', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('The Wall', 1, 1, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books_x_tags" ("book_id", "tag_id") VALUES (5, 4); COMMIT; SELECT "books_x_tags"."book_id", "books_x_tags"."tag_id" FROM "books" AS "books" LEFT JOIN "books_x_tags" AS "books_x_tags" ON ("books_x_tags"."book_id" = "books"."id") WHERE "books_x_tags"."tag_id" IN (4); @@ -20,7 +20,7 @@ COMMIT; SELECT "books_x_tags"."book_id", "books_x_tags"."tag_id" FROM "books" AS "books" LEFT JOIN "books_x_tags" AS "books_x_tags" ON ("books_x_tags"."book_id" = "books"."id") WHERE "books_x_tags"."tag_id" IN (4); START TRANSACTION; INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('The Wall III', 1, NULL, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books_x_tags" ("book_id", "tag_id") VALUES (6, 4); SELECT "books_x_tags"."book_id", "books_x_tags"."tag_id" FROM "books" AS "books" LEFT JOIN "books_x_tags" AS "books_x_tags" ON ("books_x_tags"."book_id" = "books"."id") WHERE "books_x_tags"."tag_id" IN (4); SELECT "books".* FROM "books" AS "books" WHERE (("books"."id" IN (6))); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipManyHasManyTest_testJoinAcrossDifferentPaths.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipManyHasManyTest_testJoinAcrossDifferentPaths.sql index 4ff5002d..74f70256 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipManyHasManyTest_testJoinAcrossDifferentPaths.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipManyHasManyTest_testJoinAcrossDifferentPaths.sql @@ -1,7 +1,7 @@ SELECT "books".* FROM "books" AS "books" LEFT JOIN "books_x_tags" AS "books_x_tags" ON ("books"."id" = "books_x_tags"."book_id") LEFT JOIN "tags" AS "tags_any" ON (("books_x_tags"."tag_id" = "tags_any"."id") AND "tags_any"."name" = 'Tag 1') LEFT JOIN "books" AS "nextPart" ON ("books"."next_part" = "nextPart"."id") LEFT JOIN "books_x_tags" AS "nextPart_books_x_tags" ON ("nextPart"."id" = "nextPart_books_x_tags"."book_id") LEFT JOIN "tags" AS "nextPart_tags_any" ON (("nextPart_books_x_tags"."tag_id" = "nextPart_tags_any"."id") AND "nextPart_tags_any"."name" = 'Tag 3') GROUP BY "books"."id", "books"."id" HAVING ((COUNT("tags_any"."id") > 0) OR (COUNT("nextPart_tags_any"."id") > 0)) ORDER BY "books"."id" ASC; START TRANSACTION; INSERT INTO "tags" ("name", "is_global") VALUES ('Tag 5', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); INSERT INTO "books_x_tags" ("book_id", "tag_id") VALUES (4, 4); COMMIT; SELECT "books".* FROM "books" AS "books" LEFT JOIN "books_x_tags" AS "books_x_tags" ON ("books"."id" = "books_x_tags"."book_id") LEFT JOIN "tags" AS "tags_any" ON (("books_x_tags"."tag_id" = "tags_any"."id") AND "tags_any"."name" = 'Tag 5') LEFT JOIN "books" AS "nextPart" ON ("books"."next_part" = "nextPart"."id") LEFT JOIN "books_x_tags" AS "nextPart_books_x_tags" ON ("nextPart"."id" = "nextPart_books_x_tags"."book_id") LEFT JOIN "tags" AS "nextPart_tags_any" ON (("nextPart_books_x_tags"."tag_id" = "nextPart_tags_any"."id") AND "nextPart_tags_any"."name" = 'Tag 3') GROUP BY "books"."id", "books"."id" HAVING ((COUNT("tags_any"."id") > 0) AND (COUNT("nextPart_tags_any"."id") > 0)) ORDER BY "books"."id" ASC; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipManyHasManyTest_testRawValue.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipManyHasManyTest_testRawValue.sql index a24f2695..6492a5ae 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipManyHasManyTest_testRawValue.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipManyHasManyTest_testRawValue.sql @@ -5,7 +5,7 @@ SELECT "books_x_tags"."tag_id", "books_x_tags"."book_id" FROM "tags" AS "tags" L SELECT "tags".* FROM "tags" AS "tags" WHERE (("tags"."id" IN (2))); START TRANSACTION; INSERT INTO "tags" ("name", "is_global") VALUES ('Test tag', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); DELETE FROM "books_x_tags" WHERE ("book_id", "tag_id") IN ((1, 1)); INSERT INTO "books_x_tags" ("book_id", "tag_id") VALUES (1, 4); COMMIT; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipManyHasManyTest_testRepeatedPersisting.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipManyHasManyTest_testRepeatedPersisting.sql index bd6ff57b..8b834999 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipManyHasManyTest_testRepeatedPersisting.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipManyHasManyTest_testRepeatedPersisting.sql @@ -1,9 +1,9 @@ SELECT "books".* FROM "books" AS "books" WHERE (("books"."id" = 1)); START TRANSACTION; INSERT INTO "tags" ("name", "is_global") VALUES ('A', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); INSERT INTO "tags" ("name", "is_global") VALUES ('B', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); INSERT INTO "books_x_tags" ("book_id", "tag_id") VALUES (1, 4), (1, 5); COMMIT; START TRANSACTION; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipManyHasOneTest_testPersistenceHasOne.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipManyHasOneTest_testPersistenceHasOne.sql index 9abc5ad4..52679b30 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipManyHasOneTest_testPersistenceHasOne.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipManyHasOneTest_testPersistenceHasOne.sql @@ -1,7 +1,7 @@ SELECT "publishers".* FROM "publishers" AS "publishers" WHERE (("publishers"."publisher_id" = 1)); START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Jon Snow', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('A new book', 3, NULL, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); COMMIT; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyRemoveTest_testRemoveCollection.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyRemoveTest_testRemoveCollection.sql index 344cb1de..2afc65c9 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyRemoveTest_testRemoveCollection.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyRemoveTest_testRemoveCollection.sql @@ -1,9 +1,9 @@ SELECT "publishers".* FROM "publishers" AS "publishers" WHERE (("publishers"."publisher_id" = 1)); START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('A', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('B', 3, NULL, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); COMMIT; SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (3) ORDER BY "books"."id" DESC; SELECT "books_x_tags"."tag_id", "books_x_tags"."book_id" FROM "tags" AS "tags" LEFT JOIN "books_x_tags" AS "books_x_tags" ON ("books_x_tags"."tag_id" = "tags"."id") WHERE "books_x_tags"."book_id" IN (5); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyRemoveTest_testRemoveCollectionAndParent.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyRemoveTest_testRemoveCollectionAndParent.sql index 14076e2d..9c816e70 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyRemoveTest_testRemoveCollectionAndParent.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyRemoveTest_testRemoveCollectionAndParent.sql @@ -1,9 +1,9 @@ SELECT "publishers".* FROM "publishers" AS "publishers" WHERE (("publishers"."publisher_id" = 1)); START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('A', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('B', 3, NULL, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); COMMIT; SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (3) ORDER BY "books"."id" DESC; SELECT "books_x_tags"."tag_id", "books_x_tags"."book_id" FROM "tags" AS "tags" LEFT JOIN "books_x_tags" AS "books_x_tags" ON ("books_x_tags"."tag_id" = "tags"."id") WHERE "books_x_tags"."book_id" IN (5); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyRemoveTest_testRemoveNoCascadeEmptyCollection.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyRemoveTest_testRemoveNoCascadeEmptyCollection.sql index b47a0adc..34bfcc45 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyRemoveTest_testRemoveNoCascadeEmptyCollection.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyRemoveTest_testRemoveNoCascadeEmptyCollection.sql @@ -1,6 +1,6 @@ START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('A', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); COMMIT; SELECT "tag_followers".* FROM "tag_followers" AS "tag_followers" WHERE "tag_followers"."author_id" IN (3); SELECT "authors".* FROM "public"."authors" AS "authors" WHERE "authors"."favorite_author_id" IN (3); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyTest_testCountAfterRemoveAndFlushAndCount.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyTest_testCountAfterRemoveAndFlushAndCount.sql index 921eb2ef..639ba6fb 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyTest_testCountAfterRemoveAndFlushAndCount.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyTest_testCountAfterRemoveAndFlushAndCount.sql @@ -1,10 +1,10 @@ START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('The Imp', '2000-01-01 12:12:12.000000'::timestamp, 'localhost', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Valyria'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('The Wall', 3, 3, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); COMMIT; SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (3) ORDER BY "books"."id" DESC; SELECT "books_x_tags"."tag_id", "books_x_tags"."book_id" FROM "tags" AS "tags" LEFT JOIN "books_x_tags" AS "books_x_tags" ON ("books_x_tags"."tag_id" = "tags"."id") WHERE "books_x_tags"."book_id" IN (5); @@ -16,5 +16,5 @@ COMMIT; SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (3) ORDER BY "books"."id" DESC; START TRANSACTION; INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('The Wall III', 3, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (3) ORDER BY "books"."id" DESC; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyTest_testLimit.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyTest_testLimit.sql index b00b3905..0cecaa9e 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyTest_testLimit.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyTest_testLimit.sql @@ -2,7 +2,7 @@ SELECT "authors".* FROM "public"."authors" AS "authors" WHERE (("authors"."id" = SELECT "publishers".* FROM "publishers" AS "publishers" WHERE (("publishers"."publisher_id" = 1)); START TRANSACTION; INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 5', 1, NULL, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); COMMIT; SELECT "authors".* FROM "public"."authors" AS "authors" ORDER BY "authors"."id" ASC; (SELECT "books".*, "books"."id", "books"."author_id" FROM "books" AS "books" WHERE "author_id" = 1 ORDER BY "books"."title" DESC LIMIT 2) UNION ALL (SELECT "books".*, "books"."id", "books"."author_id" FROM "books" AS "books" WHERE "author_id" = 2 ORDER BY "books"."title" DESC LIMIT 2); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyTest_testPersistence.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyTest_testPersistence.sql index 1c24acbe..c392dc7a 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyTest_testPersistence.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyTest_testPersistence.sql @@ -1,24 +1,24 @@ START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('A1', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Publisher'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 1', 3, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 2', 3, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('A2', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 3', 4, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 4', 4, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('A3', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 5', 5, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 6', 5, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); COMMIT; SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (3) ORDER BY "books"."id" DESC; SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (4) ORDER BY "books"."id" DESC; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyTest_testRawValue.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyTest_testRawValue.sql index 658062ad..e8dda648 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyTest_testRawValue.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasManyTest_testRawValue.sql @@ -11,6 +11,6 @@ DELETE FROM "books_x_tags" WHERE ("book_id", "tag_id") IN ((1, 1), (1, 2)); DELETE FROM "books" WHERE "id" = 1; SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (1) ORDER BY "books"."id" DESC; INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Test book', 1, NULL, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); COMMIT; SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (1) ORDER BY "books"."id" DESC; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testCascadeRemove.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testCascadeRemove.sql index 3dee8bce..8accd09f 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testCascadeRemove.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testCascadeRemove.sql @@ -1,7 +1,7 @@ SELECT "books".* FROM "books" AS "books" WHERE (("books"."id" = 1)); START TRANSACTION; INSERT INTO "eans" ("code", "type") VALUES ('1234', 2); -SELECT CURRVAL('eans_id_seq'); +SELECT CURRVAL('"eans_id_seq"'); UPDATE "books" SET "ean_id" = 1 WHERE "id" = 1; COMMIT; SELECT "eans".* FROM "eans" AS "eans" WHERE (("eans"."id" = 1)); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testCascadeRemoveWithNull.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testCascadeRemoveWithNull.sql index 8871af7c..39b7fe25 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testCascadeRemoveWithNull.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testCascadeRemoveWithNull.sql @@ -1,6 +1,6 @@ START TRANSACTION; INSERT INTO "eans" ("code", "type") VALUES ('1234', 2); -SELECT CURRVAL('eans_id_seq'); +SELECT CURRVAL('"eans_id_seq"'); COMMIT; SELECT "books".* FROM "books" AS "books" WHERE "books"."ean_id" IN (1); START TRANSACTION; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testCollection.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testCollection.sql index 3b6cd528..0973e161 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testCollection.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testCollection.sql @@ -2,9 +2,9 @@ SELECT "authors".* FROM "public"."authors" AS "authors" WHERE (("authors"."id" = SELECT "publishers".* FROM "publishers" AS "publishers" WHERE (("publishers"."publisher_id" = 1)); START TRANSACTION; INSERT INTO "eans" ("code", "type") VALUES ('GoTEAN', 2); -SELECT CURRVAL('eans_id_seq'); +SELECT CURRVAL('"eans_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('GoT', 1, NULL, NULL, 1, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); COMMIT; SELECT COUNT(*) AS count FROM (SELECT "eans"."id" FROM "eans" AS "eans" LEFT JOIN "books" AS "book" ON ("eans"."id" = "book"."ean_id") WHERE (("book"."title" = 'GoT'))) temp; SELECT "eans".* FROM "eans" AS "eans" LEFT JOIN "books" AS "book" ON ("eans"."id" = "book"."ean_id") WHERE (("book"."title" = 'GoT')) ORDER BY "book"."title" ASC; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testGetRawValue.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testGetRawValue.sql index d4693369..f6e48e06 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testGetRawValue.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testGetRawValue.sql @@ -1,7 +1,7 @@ SELECT "books".* FROM "books" AS "books" WHERE (("books"."id" = 1)); START TRANSACTION; INSERT INTO "eans" ("code", "type") VALUES ('1234', 2); -SELECT CURRVAL('eans_id_seq'); +SELECT CURRVAL('"eans_id_seq"'); UPDATE "books" SET "ean_id" = 1 WHERE "id" = 1; COMMIT; SELECT "eans".* FROM "eans" AS "eans" WHERE (("eans"."id" = 1)); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testHasValue.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testHasValue.sql index af8ce01f..2108620d 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testHasValue.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testHasValue.sql @@ -1,7 +1,7 @@ SELECT "books".* FROM "books" AS "books" WHERE (("books"."id" = 1)); START TRANSACTION; INSERT INTO "eans" ("code", "type") VALUES ('1234', 2); -SELECT CURRVAL('eans_id_seq'); +SELECT CURRVAL('"eans_id_seq"'); UPDATE "books" SET "ean_id" = 1 WHERE "id" = 1; COMMIT; SELECT "eans".* FROM "eans" AS "eans" WHERE (("eans"."code" = '1234')); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testPersistence.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testPersistence.sql index 62255f86..88e9d168 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testPersistence.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testPersistence.sql @@ -4,7 +4,7 @@ SELECT "authors".* FROM "public"."authors" AS "authors" WHERE (("authors"."id" = SELECT "publishers".* FROM "publishers" AS "publishers" WHERE (("publishers"."publisher_id" = 2)); START TRANSACTION; INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Games of Thrones II', 2, NULL, NULL, NULL, 2, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Games of Thrones I', 1, NULL, 5, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); COMMIT; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testPersistenceFromOtherSide.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testPersistenceFromOtherSide.sql index 62255f86..88e9d168 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testPersistenceFromOtherSide.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testPersistenceFromOtherSide.sql @@ -4,7 +4,7 @@ SELECT "authors".* FROM "public"."authors" AS "authors" WHERE (("authors"."id" = SELECT "publishers".* FROM "publishers" AS "publishers" WHERE (("publishers"."publisher_id" = 2)); START TRANSACTION; INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Games of Thrones II', 2, NULL, NULL, NULL, 2, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Games of Thrones I', 1, NULL, 5, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); COMMIT; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testQueryBuilder.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testQueryBuilder.sql index c4516fe8..37d752f7 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testQueryBuilder.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testQueryBuilder.sql @@ -2,9 +2,9 @@ SELECT "authors".* FROM "public"."authors" AS "authors" WHERE (("authors"."id" = SELECT "publishers".* FROM "publishers" AS "publishers" WHERE (("publishers"."publisher_id" = 1)); START TRANSACTION; INSERT INTO "eans" ("code", "type") VALUES ('1234', 2); -SELECT CURRVAL('eans_id_seq'); +SELECT CURRVAL('"eans_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Games of Thrones I', 1, NULL, NULL, 1, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); COMMIT; SELECT COUNT(*) AS count FROM (SELECT "books"."id" FROM "books" AS "books" LEFT JOIN "eans" AS "ean" ON ("books"."ean_id" = "ean"."id") WHERE (("ean"."code" = '1234'))) temp; SELECT "books".* FROM "books" AS "books" LEFT JOIN "eans" AS "ean" ON ("books"."ean_id" = "ean"."id") WHERE (("ean"."code" = '1234')); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testReadOnNullable.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testReadOnNullable.sql index ee46ae0b..a65f11a0 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testReadOnNullable.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testReadOnNullable.sql @@ -1,8 +1,8 @@ START TRANSACTION; INSERT INTO "photo_albums" ("title", "preview_id") VALUES ('Test', NULL); -SELECT CURRVAL('photo_albums_id_seq'); +SELECT CURRVAL('"photo_albums_id_seq"'); INSERT INTO "photos" ("title", "album_id") VALUES ('Test', 1); -SELECT CURRVAL('photos_id_seq'); +SELECT CURRVAL('"photos_id_seq"'); UPDATE "photo_albums" SET "preview_id" = 1 WHERE "id" = 1; COMMIT; SELECT "photos".* FROM "photos" AS "photos" WHERE (("photos"."id" = 1)); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testRemove.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testRemove.sql index 4b7bdc2c..f6209bd3 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testRemove.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipOneHasOneTest_testRemove.sql @@ -1,7 +1,7 @@ SELECT "books".* FROM "books" AS "books" WHERE (("books"."id" = 1)); START TRANSACTION; INSERT INTO "eans" ("code", "type") VALUES ('1234', 2); -SELECT CURRVAL('eans_id_seq'); +SELECT CURRVAL('"eans_id_seq"'); UPDATE "books" SET "ean_id" = 1 WHERE "id" = 1; COMMIT; START TRANSACTION; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsHasManyCollectionTest_testFindBy.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsHasManyCollectionTest_testFindBy.sql index a4258825..86a2fe77 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsHasManyCollectionTest_testFindBy.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsHasManyCollectionTest_testFindBy.sql @@ -8,7 +8,7 @@ SELECT "books".* FROM "books" AS "books" WHERE ((("books"."publisher_id" = 1)) A SELECT "author_id", COUNT(DISTINCT "count") as "count" FROM (SELECT "books".*, "books"."id" AS "count" FROM "books" AS "books" WHERE ((("books"."publisher_id" = 1)) AND (("books"."id" = 1))) AND ("books"."author_id" IN (1))) AS "temp" GROUP BY "author_id"; START TRANSACTION; INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('New Book #1', 1, NULL, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); COMMIT; SELECT "books".* FROM "books" AS "books" WHERE ((("books"."publisher_id" = 1))) AND ("books"."author_id" IN (1)) ORDER BY "books"."id" DESC; SELECT "author_id", COUNT(DISTINCT "count") as "count" FROM (SELECT "books".*, "books"."id" AS "count" FROM "books" AS "books" WHERE ((("books"."publisher_id" = 1))) AND ("books"."author_id" IN (1))) AS "temp" GROUP BY "author_id"; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsHasManyCollectionTest_testSelect.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsHasManyCollectionTest_testSelect.sql index 36fb5a1c..748f3818 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsHasManyCollectionTest_testSelect.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsHasManyCollectionTest_testSelect.sql @@ -5,7 +5,7 @@ SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (1) ORDER SELECT "author_id", COUNT(DISTINCT "count") as "count" FROM (SELECT "books".*, "books"."id" AS "count" FROM "books" AS "books" WHERE "books"."author_id" IN (1)) AS "temp" GROUP BY "author_id"; START TRANSACTION; INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('New Book #1', 1, NULL, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); COMMIT; SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (1) ORDER BY "books"."id" DESC; SELECT "author_id", COUNT(DISTINCT "count") as "count" FROM (SELECT "books".*, "books"."id" AS "count" FROM "books" AS "books" WHERE "books"."author_id" IN (1)) AS "temp" GROUP BY "author_id"; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddA.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddA.sql index b0ff7210..f16e4199 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddA.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddA.sql @@ -1,7 +1,7 @@ SELECT "books".* FROM "books" AS "books" WHERE (("books"."id" = 1)); START TRANSACTION; INSERT INTO "tags" ("name", "is_global") VALUES ('New Tag #1', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); INSERT INTO "books_x_tags" ("book_id", "tag_id") VALUES (1, 4); SELECT "books_x_tags"."tag_id", "books_x_tags"."book_id" FROM "tags" AS "tags" LEFT JOIN "books_x_tags" AS "books_x_tags" ON ("books_x_tags"."tag_id" = "tags"."id") WHERE "books_x_tags"."book_id" IN (1); SELECT "tags".* FROM "tags" AS "tags" WHERE (("tags"."id" IN (1, 2, 4))); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddB.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddB.sql index 4146fd0d..f45328c8 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddB.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddB.sql @@ -3,7 +3,7 @@ SELECT "books_x_tags"."tag_id", "books_x_tags"."book_id" FROM "tags" AS "tags" L SELECT "tags".* FROM "tags" AS "tags" WHERE (("tags"."id" IN (1, 2))); START TRANSACTION; INSERT INTO "tags" ("name", "is_global") VALUES ('New Tag #1', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); INSERT INTO "books_x_tags" ("book_id", "tag_id") VALUES (1, 4); SELECT "books_x_tags"."tag_id", "books_x_tags"."book_id" FROM "tags" AS "tags" LEFT JOIN "books_x_tags" AS "books_x_tags" ON ("books_x_tags"."tag_id" = "tags"."id") WHERE "books_x_tags"."book_id" IN (1); SELECT "tags".* FROM "tags" AS "tags" WHERE (("tags"."id" IN (1, 2, 4))); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddC.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddC.sql index 4146fd0d..f45328c8 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddC.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddC.sql @@ -3,7 +3,7 @@ SELECT "books_x_tags"."tag_id", "books_x_tags"."book_id" FROM "tags" AS "tags" L SELECT "tags".* FROM "tags" AS "tags" WHERE (("tags"."id" IN (1, 2))); START TRANSACTION; INSERT INTO "tags" ("name", "is_global") VALUES ('New Tag #1', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); INSERT INTO "books_x_tags" ("book_id", "tag_id") VALUES (1, 4); SELECT "books_x_tags"."tag_id", "books_x_tags"."book_id" FROM "tags" AS "tags" LEFT JOIN "books_x_tags" AS "books_x_tags" ON ("books_x_tags"."tag_id" = "tags"."id") WHERE "books_x_tags"."book_id" IN (1); SELECT "tags".* FROM "tags" AS "tags" WHERE (("tags"."id" IN (1, 2, 4))); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddD.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddD.sql index 80d3e87a..6eab31c9 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddD.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddD.sql @@ -1,12 +1,12 @@ SELECT "books".* FROM "books" AS "books" WHERE (("books"."id" = 1)); START TRANSACTION; INSERT INTO "tags" ("name", "is_global") VALUES ('New Tag #1', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); INSERT INTO "books_x_tags" ("book_id", "tag_id") VALUES (1, 4); SELECT "books_x_tags"."tag_id", "books_x_tags"."book_id" FROM "tags" AS "tags" LEFT JOIN "books_x_tags" AS "books_x_tags" ON ("books_x_tags"."tag_id" = "tags"."id") WHERE "books_x_tags"."book_id" IN (1); SELECT "tags".* FROM "tags" AS "tags" WHERE (("tags"."id" IN (1, 2, 4))); INSERT INTO "tags" ("name", "is_global") VALUES ('New Tag #2', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); INSERT INTO "books_x_tags" ("book_id", "tag_id") VALUES (1, 5); SELECT "books_x_tags"."tag_id", "books_x_tags"."book_id" FROM "tags" AS "tags" LEFT JOIN "books_x_tags" AS "books_x_tags" ON ("books_x_tags"."tag_id" = "tags"."id") WHERE "books_x_tags"."book_id" IN (1); SELECT "tags".* FROM "tags" AS "tags" WHERE (("tags"."id" IN (1, 2, 4, 5))); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddE.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddE.sql index 80d3e87a..6eab31c9 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddE.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddE.sql @@ -1,12 +1,12 @@ SELECT "books".* FROM "books" AS "books" WHERE (("books"."id" = 1)); START TRANSACTION; INSERT INTO "tags" ("name", "is_global") VALUES ('New Tag #1', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); INSERT INTO "books_x_tags" ("book_id", "tag_id") VALUES (1, 4); SELECT "books_x_tags"."tag_id", "books_x_tags"."book_id" FROM "tags" AS "tags" LEFT JOIN "books_x_tags" AS "books_x_tags" ON ("books_x_tags"."tag_id" = "tags"."id") WHERE "books_x_tags"."book_id" IN (1); SELECT "tags".* FROM "tags" AS "tags" WHERE (("tags"."id" IN (1, 2, 4))); INSERT INTO "tags" ("name", "is_global") VALUES ('New Tag #2', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); INSERT INTO "books_x_tags" ("book_id", "tag_id") VALUES (1, 5); SELECT "books_x_tags"."tag_id", "books_x_tags"."book_id" FROM "tags" AS "tags" LEFT JOIN "books_x_tags" AS "books_x_tags" ON ("books_x_tags"."tag_id" = "tags"."id") WHERE "books_x_tags"."book_id" IN (1); SELECT "tags".* FROM "tags" AS "tags" WHERE (("tags"."id" IN (1, 2, 4, 5))); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddF.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddF.sql index 486c3221..7c802e01 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddF.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddF.sql @@ -1,10 +1,10 @@ SELECT "books".* FROM "books" AS "books" WHERE (("books"."id" = 1)); START TRANSACTION; INSERT INTO "tags" ("name", "is_global") VALUES ('New Tag #1', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); INSERT INTO "books_x_tags" ("book_id", "tag_id") VALUES (1, 4); INSERT INTO "tags" ("name", "is_global") VALUES ('New Tag #2', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); INSERT INTO "books_x_tags" ("book_id", "tag_id") VALUES (1, 5); SELECT "books_x_tags"."tag_id", "books_x_tags"."book_id" FROM "tags" AS "tags" LEFT JOIN "books_x_tags" AS "books_x_tags" ON ("books_x_tags"."tag_id" = "tags"."id") WHERE "books_x_tags"."book_id" IN (1); SELECT "tags".* FROM "tags" AS "tags" WHERE (("tags"."id" IN (1, 2, 4, 5))); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddH.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddH.sql index 2182818f..97b8aa92 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddH.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddH.sql @@ -3,9 +3,9 @@ SELECT "books_x_tags"."tag_id", "books_x_tags"."book_id" FROM "tags" AS "tags" L SELECT "tags".* FROM "tags" AS "tags" WHERE (("tags"."id" IN (1, 2))); START TRANSACTION; INSERT INTO "tags" ("name", "is_global") VALUES ('New Tag #1', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); INSERT INTO "tags" ("name", "is_global") VALUES ('New Tag #2', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); INSERT INTO "books_x_tags" ("book_id", "tag_id") VALUES (1, 4), (1, 5); SELECT "books_x_tags"."tag_id", "books_x_tags"."book_id" FROM "tags" AS "tags" LEFT JOIN "books_x_tags" AS "books_x_tags" ON ("books_x_tags"."tag_id" = "tags"."id") WHERE "books_x_tags"."book_id" IN (1); SELECT "tags".* FROM "tags" AS "tags" WHERE (("tags"."id" IN (1, 2, 4, 5))); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddI.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddI.sql index 4c2138b9..add98da4 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddI.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsManyHasManyCollectionTest_testAddI.sql @@ -3,12 +3,12 @@ SELECT "books_x_tags"."tag_id", "books_x_tags"."book_id" FROM "tags" AS "tags" L SELECT "tags".* FROM "tags" AS "tags" WHERE (("tags"."id" IN (1, 2))); START TRANSACTION; INSERT INTO "tags" ("name", "is_global") VALUES ('New Tag #1', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); INSERT INTO "books_x_tags" ("book_id", "tag_id") VALUES (1, 4); SELECT "books_x_tags"."tag_id", "books_x_tags"."book_id" FROM "tags" AS "tags" LEFT JOIN "books_x_tags" AS "books_x_tags" ON ("books_x_tags"."tag_id" = "tags"."id") WHERE "books_x_tags"."book_id" IN (1); SELECT "tags".* FROM "tags" AS "tags" WHERE (("tags"."id" IN (1, 2, 4))); INSERT INTO "tags" ("name", "is_global") VALUES ('New Tag #2', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); INSERT INTO "books_x_tags" ("book_id", "tag_id") VALUES (1, 5); SELECT "books_x_tags"."tag_id", "books_x_tags"."book_id" FROM "tags" AS "tags" LEFT JOIN "books_x_tags" AS "books_x_tags" ON ("books_x_tags"."tag_id" = "tags"."id") WHERE "books_x_tags"."book_id" IN (1); SELECT "tags".* FROM "tags" AS "tags" WHERE (("tags"."id" IN (1, 2, 4, 5))); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddA.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddA.sql index e9917d05..ef910a4c 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddA.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddA.sql @@ -3,6 +3,6 @@ SELECT "authors".* FROM "public"."authors" AS "authors" WHERE (("authors"."id" = SELECT "authors".* FROM "public"."authors" AS "authors" WHERE (("authors"."id" = 2)); START TRANSACTION; INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('New Book #1', 1, NULL, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (1) ORDER BY "books"."id" DESC; COMMIT; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddB.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddB.sql index ac06cfd7..ad2e4645 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddB.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddB.sql @@ -4,6 +4,6 @@ SELECT "authors".* FROM "public"."authors" AS "authors" WHERE (("authors"."id" = SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (1) ORDER BY "books"."id" DESC; START TRANSACTION; INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('New Book #1', 1, NULL, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (1) ORDER BY "books"."id" DESC; COMMIT; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddC.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddC.sql index ac06cfd7..ad2e4645 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddC.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddC.sql @@ -4,6 +4,6 @@ SELECT "authors".* FROM "public"."authors" AS "authors" WHERE (("authors"."id" = SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (1) ORDER BY "books"."id" DESC; START TRANSACTION; INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('New Book #1', 1, NULL, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (1) ORDER BY "books"."id" DESC; COMMIT; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddD.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddD.sql index d324fdb6..b4530359 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddD.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddD.sql @@ -3,9 +3,9 @@ SELECT "authors".* FROM "public"."authors" AS "authors" WHERE (("authors"."id" = SELECT "authors".* FROM "public"."authors" AS "authors" WHERE (("authors"."id" = 2)); START TRANSACTION; INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('New Book #1', 1, NULL, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (1) ORDER BY "books"."id" DESC; INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('New Book #2', 1, NULL, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (1) ORDER BY "books"."id" DESC; COMMIT; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddE.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddE.sql index d324fdb6..b4530359 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddE.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddE.sql @@ -3,9 +3,9 @@ SELECT "authors".* FROM "public"."authors" AS "authors" WHERE (("authors"."id" = SELECT "authors".* FROM "public"."authors" AS "authors" WHERE (("authors"."id" = 2)); START TRANSACTION; INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('New Book #1', 1, NULL, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (1) ORDER BY "books"."id" DESC; INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('New Book #2', 1, NULL, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (1) ORDER BY "books"."id" DESC; COMMIT; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddF.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddF.sql index 6bc7b433..5ab7d9c3 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddF.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddF.sql @@ -3,8 +3,8 @@ SELECT "authors".* FROM "public"."authors" AS "authors" WHERE (("authors"."id" = SELECT "authors".* FROM "public"."authors" AS "authors" WHERE (("authors"."id" = 2)); START TRANSACTION; INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('New Book #1', 1, NULL, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('New Book #2', 1, NULL, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (1) ORDER BY "books"."id" DESC; COMMIT; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddH.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddH.sql index 71ae2c23..17c558ab 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddH.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddH.sql @@ -4,8 +4,8 @@ SELECT "authors".* FROM "public"."authors" AS "authors" WHERE (("authors"."id" = SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (1) ORDER BY "books"."id" DESC; START TRANSACTION; INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('New Book #1', 1, NULL, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('New Book #2', 1, NULL, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (1) ORDER BY "books"."id" DESC; COMMIT; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddI.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddI.sql index 5bc340c6..5ffe4108 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddI.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyCollectionTest_testAddI.sql @@ -4,9 +4,9 @@ SELECT "authors".* FROM "public"."authors" AS "authors" WHERE (("authors"."id" = SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (1) ORDER BY "books"."id" DESC; START TRANSACTION; INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('New Book #1', 1, NULL, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (1) ORDER BY "books"."id" DESC; INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('New Book #2', 1, NULL, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (1) ORDER BY "books"."id" DESC; COMMIT; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyPersistenceTest_testCollectionState.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyPersistenceTest_testCollectionState.sql index e996168b..ef9d7f51 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyPersistenceTest_testCollectionState.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyPersistenceTest_testCollectionState.sql @@ -1,12 +1,12 @@ START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Arnold Judas Rimmer', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); COMMIT; SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (3) ORDER BY "books"."id" DESC; START TRANSACTION; INSERT INTO "publishers" ("name") VALUES ('Jupiter Mining Corporation'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Better Than Life', 3, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (3) ORDER BY "books"."id" DESC; COMMIT; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyPersistenceTest_testPersisting.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyPersistenceTest_testPersisting.sql index 1bab3a4f..625f21c2 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyPersistenceTest_testPersisting.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyPersistenceTest_testPersisting.sql @@ -1,14 +1,14 @@ START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Persistence Author', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Publisher'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book XX', 3, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Persistence Author 2', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book YY', 4, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); COMMIT; SELECT "authors".* FROM "public"."authors" AS "authors"; SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (1, 2, 3, 4) ORDER BY "books"."id" DESC; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyPersistenceTest_testRepeatedPersisting.sql b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyPersistenceTest_testRepeatedPersisting.sql index be4cb121..55021a20 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyPersistenceTest_testRepeatedPersisting.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Relationships/RelationshipsOneHasManyPersistenceTest_testRepeatedPersisting.sql @@ -1,10 +1,10 @@ START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Arnold Judas Rimmer', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Jupiter Mining Corporation'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Better Than Life', 3, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); COMMIT; START TRANSACTION; UPDATE "books" SET "title" = 'Backwards' WHERE "id" = 5; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryCallbacksTest_testOnBeforePersist.sql b/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryCallbacksTest_testOnBeforePersist.sql index dbd682bd..cf6dd127 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryCallbacksTest_testOnBeforePersist.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryCallbacksTest_testOnBeforePersist.sql @@ -1,9 +1,9 @@ START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Test', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Pub'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Test Book', 3, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); COMMIT; SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (3) ORDER BY "books"."id" DESC; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryCallbacksTest_testOnFlush.sql b/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryCallbacksTest_testOnFlush.sql index 8254a3aa..3c001bd4 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryCallbacksTest_testOnFlush.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryCallbacksTest_testOnFlush.sql @@ -1,10 +1,10 @@ START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Test', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); COMMIT; START TRANSACTION; INSERT INTO "publishers" ("name") VALUES ('Pub'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book', 3, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); COMMIT; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryCascadeRemoveTest_testBasicCascadeRemove.sql b/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryCascadeRemoveTest_testBasicCascadeRemove.sql index b3ad2ae1..0969d4b1 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryCascadeRemoveTest_testBasicCascadeRemove.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryCascadeRemoveTest_testBasicCascadeRemove.sql @@ -3,7 +3,7 @@ SELECT "authors".* FROM "public"."authors" AS "authors" WHERE (("authors"."id" = SELECT "publishers".* FROM "publishers" AS "publishers" WHERE (("publishers"."publisher_id" = 1)); START TRANSACTION; INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 5', 1, 2, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); COMMIT; SELECT "books".* FROM "books" AS "books" WHERE (("books"."id" = 3)); SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (2) ORDER BY "books"."id" DESC; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryIdentityMapTest_testPersistence.sql b/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryIdentityMapTest_testPersistence.sql index bcee933e..073afe45 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryIdentityMapTest_testPersistence.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryIdentityMapTest_testPersistence.sql @@ -1,8 +1,8 @@ SELECT "publishers".* FROM "publishers" AS "publishers" WHERE (("publishers"."publisher_id" = 1)); START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('A', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('B', 3, NULL, NULL, NULL, 1, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); COMMIT; SELECT "books".* FROM "books" AS "books" WHERE "books"."author_id" IN (3) ORDER BY "books"."id" DESC; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryPersistenceTest_testComplexPersistenceTree.sql b/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryPersistenceTest_testComplexPersistenceTree.sql index 9048cc88..5fbc5ef3 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryPersistenceTest_testComplexPersistenceTree.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryPersistenceTest_testComplexPersistenceTree.sql @@ -1,882 +1,882 @@ START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Author 0', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Publisher 0'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 0-0', 3, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Publisher 1'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 0-1', 3, NULL, NULL, NULL, 5, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Publisher 2'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 0-2', 3, NULL, NULL, NULL, 6, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Publisher 3'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 0-3', 3, NULL, NULL, NULL, 7, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Publisher 4'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 0-4', 3, NULL, NULL, NULL, 8, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Publisher 5'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 0-5', 3, NULL, NULL, NULL, 9, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Publisher 6'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 0-6', 3, NULL, NULL, NULL, 10, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Publisher 7'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 0-7', 3, NULL, NULL, NULL, 11, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Publisher 8'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 0-8', 3, NULL, NULL, NULL, 12, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Publisher 9'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 0-9', 3, NULL, NULL, NULL, 13, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Publisher 10'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 0-10', 3, NULL, NULL, NULL, 14, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Publisher 11'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 0-11', 3, NULL, NULL, NULL, 15, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Publisher 12'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 0-12', 3, NULL, NULL, NULL, 16, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Publisher 13'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 0-13', 3, NULL, NULL, NULL, 17, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Publisher 14'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 0-14', 3, NULL, NULL, NULL, 18, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Publisher 15'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 0-15', 3, NULL, NULL, NULL, 19, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Publisher 16'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 0-16', 3, NULL, NULL, NULL, 20, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Publisher 17'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 0-17', 3, NULL, NULL, NULL, 21, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Publisher 18'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 0-18', 3, NULL, NULL, NULL, 22, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Publisher 19'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 0-19', 3, NULL, NULL, NULL, 23, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Author 1', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 1-0', 4, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Author 2', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 2-0', 5, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Author 3', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 3-0', 6, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Author 4', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 4-0', 7, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Author 5', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 5-0', 8, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Author 6', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 6-0', 9, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Author 7', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 7-0', 10, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Author 8', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 8-0', 11, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Author 9', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 9-0', 12, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Author 10', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 10-0', 13, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Author 11', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 11-0', 14, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Author 12', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 12-0', 15, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Author 13', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 13-0', 16, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Author 14', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 14-0', 17, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Author 15', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 15-0', 18, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Author 16', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 16-0', 19, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Author 17', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 17-0', 20, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Author 18', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 18-0', 21, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Author 19', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 19-0', 22, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 1-1', 4, NULL, NULL, NULL, 5, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 2-1', 5, NULL, NULL, NULL, 5, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 3-1', 6, NULL, NULL, NULL, 5, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 4-1', 7, NULL, NULL, NULL, 5, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 5-1', 8, NULL, NULL, NULL, 5, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 6-1', 9, NULL, NULL, NULL, 5, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 7-1', 10, NULL, NULL, NULL, 5, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 8-1', 11, NULL, NULL, NULL, 5, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 9-1', 12, NULL, NULL, NULL, 5, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 10-1', 13, NULL, NULL, NULL, 5, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 11-1', 14, NULL, NULL, NULL, 5, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 12-1', 15, NULL, NULL, NULL, 5, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 13-1', 16, NULL, NULL, NULL, 5, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 14-1', 17, NULL, NULL, NULL, 5, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 15-1', 18, NULL, NULL, NULL, 5, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 16-1', 19, NULL, NULL, NULL, 5, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 17-1', 20, NULL, NULL, NULL, 5, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 18-1', 21, NULL, NULL, NULL, 5, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 19-1', 22, NULL, NULL, NULL, 5, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 1-2', 4, NULL, NULL, NULL, 6, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 2-2', 5, NULL, NULL, NULL, 6, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 3-2', 6, NULL, NULL, NULL, 6, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 4-2', 7, NULL, NULL, NULL, 6, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 5-2', 8, NULL, NULL, NULL, 6, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 6-2', 9, NULL, NULL, NULL, 6, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 7-2', 10, NULL, NULL, NULL, 6, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 8-2', 11, NULL, NULL, NULL, 6, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 9-2', 12, NULL, NULL, NULL, 6, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 10-2', 13, NULL, NULL, NULL, 6, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 11-2', 14, NULL, NULL, NULL, 6, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 12-2', 15, NULL, NULL, NULL, 6, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 13-2', 16, NULL, NULL, NULL, 6, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 14-2', 17, NULL, NULL, NULL, 6, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 15-2', 18, NULL, NULL, NULL, 6, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 16-2', 19, NULL, NULL, NULL, 6, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 17-2', 20, NULL, NULL, NULL, 6, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 18-2', 21, NULL, NULL, NULL, 6, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 19-2', 22, NULL, NULL, NULL, 6, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 1-3', 4, NULL, NULL, NULL, 7, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 2-3', 5, NULL, NULL, NULL, 7, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 3-3', 6, NULL, NULL, NULL, 7, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 4-3', 7, NULL, NULL, NULL, 7, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 5-3', 8, NULL, NULL, NULL, 7, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 6-3', 9, NULL, NULL, NULL, 7, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 7-3', 10, NULL, NULL, NULL, 7, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 8-3', 11, NULL, NULL, NULL, 7, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 9-3', 12, NULL, NULL, NULL, 7, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 10-3', 13, NULL, NULL, NULL, 7, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 11-3', 14, NULL, NULL, NULL, 7, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 12-3', 15, NULL, NULL, NULL, 7, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 13-3', 16, NULL, NULL, NULL, 7, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 14-3', 17, NULL, NULL, NULL, 7, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 15-3', 18, NULL, NULL, NULL, 7, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 16-3', 19, NULL, NULL, NULL, 7, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 17-3', 20, NULL, NULL, NULL, 7, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 18-3', 21, NULL, NULL, NULL, 7, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 19-3', 22, NULL, NULL, NULL, 7, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 1-4', 4, NULL, NULL, NULL, 8, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 2-4', 5, NULL, NULL, NULL, 8, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 3-4', 6, NULL, NULL, NULL, 8, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 4-4', 7, NULL, NULL, NULL, 8, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 5-4', 8, NULL, NULL, NULL, 8, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 6-4', 9, NULL, NULL, NULL, 8, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 7-4', 10, NULL, NULL, NULL, 8, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 8-4', 11, NULL, NULL, NULL, 8, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 9-4', 12, NULL, NULL, NULL, 8, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 10-4', 13, NULL, NULL, NULL, 8, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 11-4', 14, NULL, NULL, NULL, 8, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 12-4', 15, NULL, NULL, NULL, 8, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 13-4', 16, NULL, NULL, NULL, 8, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 14-4', 17, NULL, NULL, NULL, 8, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 15-4', 18, NULL, NULL, NULL, 8, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 16-4', 19, NULL, NULL, NULL, 8, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 17-4', 20, NULL, NULL, NULL, 8, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 18-4', 21, NULL, NULL, NULL, 8, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 19-4', 22, NULL, NULL, NULL, 8, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 1-5', 4, NULL, NULL, NULL, 9, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 2-5', 5, NULL, NULL, NULL, 9, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 3-5', 6, NULL, NULL, NULL, 9, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 4-5', 7, NULL, NULL, NULL, 9, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 5-5', 8, NULL, NULL, NULL, 9, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 6-5', 9, NULL, NULL, NULL, 9, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 7-5', 10, NULL, NULL, NULL, 9, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 8-5', 11, NULL, NULL, NULL, 9, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 9-5', 12, NULL, NULL, NULL, 9, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 10-5', 13, NULL, NULL, NULL, 9, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 11-5', 14, NULL, NULL, NULL, 9, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 12-5', 15, NULL, NULL, NULL, 9, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 13-5', 16, NULL, NULL, NULL, 9, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 14-5', 17, NULL, NULL, NULL, 9, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 15-5', 18, NULL, NULL, NULL, 9, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 16-5', 19, NULL, NULL, NULL, 9, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 17-5', 20, NULL, NULL, NULL, 9, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 18-5', 21, NULL, NULL, NULL, 9, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 19-5', 22, NULL, NULL, NULL, 9, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 1-6', 4, NULL, NULL, NULL, 10, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 2-6', 5, NULL, NULL, NULL, 10, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 3-6', 6, NULL, NULL, NULL, 10, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 4-6', 7, NULL, NULL, NULL, 10, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 5-6', 8, NULL, NULL, NULL, 10, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 6-6', 9, NULL, NULL, NULL, 10, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 7-6', 10, NULL, NULL, NULL, 10, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 8-6', 11, NULL, NULL, NULL, 10, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 9-6', 12, NULL, NULL, NULL, 10, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 10-6', 13, NULL, NULL, NULL, 10, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 11-6', 14, NULL, NULL, NULL, 10, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 12-6', 15, NULL, NULL, NULL, 10, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 13-6', 16, NULL, NULL, NULL, 10, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 14-6', 17, NULL, NULL, NULL, 10, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 15-6', 18, NULL, NULL, NULL, 10, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 16-6', 19, NULL, NULL, NULL, 10, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 17-6', 20, NULL, NULL, NULL, 10, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 18-6', 21, NULL, NULL, NULL, 10, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 19-6', 22, NULL, NULL, NULL, 10, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 1-7', 4, NULL, NULL, NULL, 11, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 2-7', 5, NULL, NULL, NULL, 11, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 3-7', 6, NULL, NULL, NULL, 11, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 4-7', 7, NULL, NULL, NULL, 11, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 5-7', 8, NULL, NULL, NULL, 11, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 6-7', 9, NULL, NULL, NULL, 11, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 7-7', 10, NULL, NULL, NULL, 11, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 8-7', 11, NULL, NULL, NULL, 11, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 9-7', 12, NULL, NULL, NULL, 11, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 10-7', 13, NULL, NULL, NULL, 11, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 11-7', 14, NULL, NULL, NULL, 11, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 12-7', 15, NULL, NULL, NULL, 11, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 13-7', 16, NULL, NULL, NULL, 11, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 14-7', 17, NULL, NULL, NULL, 11, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 15-7', 18, NULL, NULL, NULL, 11, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 16-7', 19, NULL, NULL, NULL, 11, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 17-7', 20, NULL, NULL, NULL, 11, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 18-7', 21, NULL, NULL, NULL, 11, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 19-7', 22, NULL, NULL, NULL, 11, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 1-8', 4, NULL, NULL, NULL, 12, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 2-8', 5, NULL, NULL, NULL, 12, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 3-8', 6, NULL, NULL, NULL, 12, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 4-8', 7, NULL, NULL, NULL, 12, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 5-8', 8, NULL, NULL, NULL, 12, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 6-8', 9, NULL, NULL, NULL, 12, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 7-8', 10, NULL, NULL, NULL, 12, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 8-8', 11, NULL, NULL, NULL, 12, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 9-8', 12, NULL, NULL, NULL, 12, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 10-8', 13, NULL, NULL, NULL, 12, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 11-8', 14, NULL, NULL, NULL, 12, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 12-8', 15, NULL, NULL, NULL, 12, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 13-8', 16, NULL, NULL, NULL, 12, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 14-8', 17, NULL, NULL, NULL, 12, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 15-8', 18, NULL, NULL, NULL, 12, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 16-8', 19, NULL, NULL, NULL, 12, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 17-8', 20, NULL, NULL, NULL, 12, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 18-8', 21, NULL, NULL, NULL, 12, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 19-8', 22, NULL, NULL, NULL, 12, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 1-9', 4, NULL, NULL, NULL, 13, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 2-9', 5, NULL, NULL, NULL, 13, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 3-9', 6, NULL, NULL, NULL, 13, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 4-9', 7, NULL, NULL, NULL, 13, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 5-9', 8, NULL, NULL, NULL, 13, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 6-9', 9, NULL, NULL, NULL, 13, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 7-9', 10, NULL, NULL, NULL, 13, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 8-9', 11, NULL, NULL, NULL, 13, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 9-9', 12, NULL, NULL, NULL, 13, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 10-9', 13, NULL, NULL, NULL, 13, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 11-9', 14, NULL, NULL, NULL, 13, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 12-9', 15, NULL, NULL, NULL, 13, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 13-9', 16, NULL, NULL, NULL, 13, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 14-9', 17, NULL, NULL, NULL, 13, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 15-9', 18, NULL, NULL, NULL, 13, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 16-9', 19, NULL, NULL, NULL, 13, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 17-9', 20, NULL, NULL, NULL, 13, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 18-9', 21, NULL, NULL, NULL, 13, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 19-9', 22, NULL, NULL, NULL, 13, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 1-10', 4, NULL, NULL, NULL, 14, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 2-10', 5, NULL, NULL, NULL, 14, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 3-10', 6, NULL, NULL, NULL, 14, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 4-10', 7, NULL, NULL, NULL, 14, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 5-10', 8, NULL, NULL, NULL, 14, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 6-10', 9, NULL, NULL, NULL, 14, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 7-10', 10, NULL, NULL, NULL, 14, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 8-10', 11, NULL, NULL, NULL, 14, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 9-10', 12, NULL, NULL, NULL, 14, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 10-10', 13, NULL, NULL, NULL, 14, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 11-10', 14, NULL, NULL, NULL, 14, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 12-10', 15, NULL, NULL, NULL, 14, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 13-10', 16, NULL, NULL, NULL, 14, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 14-10', 17, NULL, NULL, NULL, 14, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 15-10', 18, NULL, NULL, NULL, 14, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 16-10', 19, NULL, NULL, NULL, 14, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 17-10', 20, NULL, NULL, NULL, 14, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 18-10', 21, NULL, NULL, NULL, 14, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 19-10', 22, NULL, NULL, NULL, 14, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 1-11', 4, NULL, NULL, NULL, 15, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 2-11', 5, NULL, NULL, NULL, 15, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 3-11', 6, NULL, NULL, NULL, 15, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 4-11', 7, NULL, NULL, NULL, 15, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 5-11', 8, NULL, NULL, NULL, 15, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 6-11', 9, NULL, NULL, NULL, 15, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 7-11', 10, NULL, NULL, NULL, 15, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 8-11', 11, NULL, NULL, NULL, 15, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 9-11', 12, NULL, NULL, NULL, 15, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 10-11', 13, NULL, NULL, NULL, 15, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 11-11', 14, NULL, NULL, NULL, 15, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 12-11', 15, NULL, NULL, NULL, 15, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 13-11', 16, NULL, NULL, NULL, 15, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 14-11', 17, NULL, NULL, NULL, 15, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 15-11', 18, NULL, NULL, NULL, 15, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 16-11', 19, NULL, NULL, NULL, 15, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 17-11', 20, NULL, NULL, NULL, 15, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 18-11', 21, NULL, NULL, NULL, 15, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 19-11', 22, NULL, NULL, NULL, 15, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 1-12', 4, NULL, NULL, NULL, 16, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 2-12', 5, NULL, NULL, NULL, 16, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 3-12', 6, NULL, NULL, NULL, 16, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 4-12', 7, NULL, NULL, NULL, 16, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 5-12', 8, NULL, NULL, NULL, 16, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 6-12', 9, NULL, NULL, NULL, 16, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 7-12', 10, NULL, NULL, NULL, 16, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 8-12', 11, NULL, NULL, NULL, 16, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 9-12', 12, NULL, NULL, NULL, 16, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 10-12', 13, NULL, NULL, NULL, 16, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 11-12', 14, NULL, NULL, NULL, 16, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 12-12', 15, NULL, NULL, NULL, 16, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 13-12', 16, NULL, NULL, NULL, 16, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 14-12', 17, NULL, NULL, NULL, 16, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 15-12', 18, NULL, NULL, NULL, 16, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 16-12', 19, NULL, NULL, NULL, 16, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 17-12', 20, NULL, NULL, NULL, 16, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 18-12', 21, NULL, NULL, NULL, 16, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 19-12', 22, NULL, NULL, NULL, 16, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 1-13', 4, NULL, NULL, NULL, 17, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 2-13', 5, NULL, NULL, NULL, 17, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 3-13', 6, NULL, NULL, NULL, 17, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 4-13', 7, NULL, NULL, NULL, 17, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 5-13', 8, NULL, NULL, NULL, 17, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 6-13', 9, NULL, NULL, NULL, 17, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 7-13', 10, NULL, NULL, NULL, 17, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 8-13', 11, NULL, NULL, NULL, 17, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 9-13', 12, NULL, NULL, NULL, 17, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 10-13', 13, NULL, NULL, NULL, 17, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 11-13', 14, NULL, NULL, NULL, 17, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 12-13', 15, NULL, NULL, NULL, 17, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 13-13', 16, NULL, NULL, NULL, 17, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 14-13', 17, NULL, NULL, NULL, 17, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 15-13', 18, NULL, NULL, NULL, 17, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 16-13', 19, NULL, NULL, NULL, 17, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 17-13', 20, NULL, NULL, NULL, 17, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 18-13', 21, NULL, NULL, NULL, 17, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 19-13', 22, NULL, NULL, NULL, 17, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 1-14', 4, NULL, NULL, NULL, 18, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 2-14', 5, NULL, NULL, NULL, 18, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 3-14', 6, NULL, NULL, NULL, 18, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 4-14', 7, NULL, NULL, NULL, 18, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 5-14', 8, NULL, NULL, NULL, 18, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 6-14', 9, NULL, NULL, NULL, 18, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 7-14', 10, NULL, NULL, NULL, 18, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 8-14', 11, NULL, NULL, NULL, 18, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 9-14', 12, NULL, NULL, NULL, 18, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 10-14', 13, NULL, NULL, NULL, 18, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 11-14', 14, NULL, NULL, NULL, 18, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 12-14', 15, NULL, NULL, NULL, 18, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 13-14', 16, NULL, NULL, NULL, 18, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 14-14', 17, NULL, NULL, NULL, 18, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 15-14', 18, NULL, NULL, NULL, 18, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 16-14', 19, NULL, NULL, NULL, 18, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 17-14', 20, NULL, NULL, NULL, 18, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 18-14', 21, NULL, NULL, NULL, 18, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 19-14', 22, NULL, NULL, NULL, 18, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 1-15', 4, NULL, NULL, NULL, 19, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 2-15', 5, NULL, NULL, NULL, 19, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 3-15', 6, NULL, NULL, NULL, 19, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 4-15', 7, NULL, NULL, NULL, 19, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 5-15', 8, NULL, NULL, NULL, 19, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 6-15', 9, NULL, NULL, NULL, 19, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 7-15', 10, NULL, NULL, NULL, 19, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 8-15', 11, NULL, NULL, NULL, 19, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 9-15', 12, NULL, NULL, NULL, 19, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 10-15', 13, NULL, NULL, NULL, 19, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 11-15', 14, NULL, NULL, NULL, 19, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 12-15', 15, NULL, NULL, NULL, 19, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 13-15', 16, NULL, NULL, NULL, 19, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 14-15', 17, NULL, NULL, NULL, 19, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 15-15', 18, NULL, NULL, NULL, 19, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 16-15', 19, NULL, NULL, NULL, 19, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 17-15', 20, NULL, NULL, NULL, 19, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 18-15', 21, NULL, NULL, NULL, 19, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 19-15', 22, NULL, NULL, NULL, 19, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 1-16', 4, NULL, NULL, NULL, 20, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 2-16', 5, NULL, NULL, NULL, 20, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 3-16', 6, NULL, NULL, NULL, 20, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 4-16', 7, NULL, NULL, NULL, 20, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 5-16', 8, NULL, NULL, NULL, 20, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 6-16', 9, NULL, NULL, NULL, 20, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 7-16', 10, NULL, NULL, NULL, 20, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 8-16', 11, NULL, NULL, NULL, 20, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 9-16', 12, NULL, NULL, NULL, 20, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 10-16', 13, NULL, NULL, NULL, 20, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 11-16', 14, NULL, NULL, NULL, 20, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 12-16', 15, NULL, NULL, NULL, 20, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 13-16', 16, NULL, NULL, NULL, 20, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 14-16', 17, NULL, NULL, NULL, 20, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 15-16', 18, NULL, NULL, NULL, 20, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 16-16', 19, NULL, NULL, NULL, 20, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 17-16', 20, NULL, NULL, NULL, 20, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 18-16', 21, NULL, NULL, NULL, 20, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 19-16', 22, NULL, NULL, NULL, 20, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 1-17', 4, NULL, NULL, NULL, 21, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 2-17', 5, NULL, NULL, NULL, 21, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 3-17', 6, NULL, NULL, NULL, 21, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 4-17', 7, NULL, NULL, NULL, 21, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 5-17', 8, NULL, NULL, NULL, 21, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 6-17', 9, NULL, NULL, NULL, 21, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 7-17', 10, NULL, NULL, NULL, 21, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 8-17', 11, NULL, NULL, NULL, 21, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 9-17', 12, NULL, NULL, NULL, 21, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 10-17', 13, NULL, NULL, NULL, 21, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 11-17', 14, NULL, NULL, NULL, 21, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 12-17', 15, NULL, NULL, NULL, 21, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 13-17', 16, NULL, NULL, NULL, 21, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 14-17', 17, NULL, NULL, NULL, 21, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 15-17', 18, NULL, NULL, NULL, 21, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 16-17', 19, NULL, NULL, NULL, 21, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 17-17', 20, NULL, NULL, NULL, 21, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 18-17', 21, NULL, NULL, NULL, 21, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 19-17', 22, NULL, NULL, NULL, 21, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 1-18', 4, NULL, NULL, NULL, 22, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 2-18', 5, NULL, NULL, NULL, 22, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 3-18', 6, NULL, NULL, NULL, 22, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 4-18', 7, NULL, NULL, NULL, 22, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 5-18', 8, NULL, NULL, NULL, 22, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 6-18', 9, NULL, NULL, NULL, 22, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 7-18', 10, NULL, NULL, NULL, 22, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 8-18', 11, NULL, NULL, NULL, 22, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 9-18', 12, NULL, NULL, NULL, 22, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 10-18', 13, NULL, NULL, NULL, 22, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 11-18', 14, NULL, NULL, NULL, 22, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 12-18', 15, NULL, NULL, NULL, 22, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 13-18', 16, NULL, NULL, NULL, 22, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 14-18', 17, NULL, NULL, NULL, 22, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 15-18', 18, NULL, NULL, NULL, 22, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 16-18', 19, NULL, NULL, NULL, 22, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 17-18', 20, NULL, NULL, NULL, 22, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 18-18', 21, NULL, NULL, NULL, 22, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 19-18', 22, NULL, NULL, NULL, 22, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 1-19', 4, NULL, NULL, NULL, 23, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 2-19', 5, NULL, NULL, NULL, 23, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 3-19', 6, NULL, NULL, NULL, 23, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 4-19', 7, NULL, NULL, NULL, 23, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 5-19', 8, NULL, NULL, NULL, 23, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 6-19', 9, NULL, NULL, NULL, 23, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 7-19', 10, NULL, NULL, NULL, 23, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 8-19', 11, NULL, NULL, NULL, 23, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 9-19', 12, NULL, NULL, NULL, 23, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 10-19', 13, NULL, NULL, NULL, 23, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 11-19', 14, NULL, NULL, NULL, 23, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 12-19', 15, NULL, NULL, NULL, 23, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 13-19', 16, NULL, NULL, NULL, 23, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 14-19', 17, NULL, NULL, NULL, 23, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 15-19', 18, NULL, NULL, NULL, 23, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 16-19', 19, NULL, NULL, NULL, 23, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 17-19', 20, NULL, NULL, NULL, 23, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 18-19', 21, NULL, NULL, NULL, 23, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Book 19-19', 22, NULL, NULL, NULL, 23, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); COMMIT; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryPersistenceTest_testManyHasMany.sql b/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryPersistenceTest_testManyHasMany.sql index 72bf0dab..629c539c 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryPersistenceTest_testManyHasMany.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryPersistenceTest_testManyHasMany.sql @@ -1,57 +1,57 @@ START TRANSACTION; INSERT INTO "tags" ("name", "is_global") VALUES ('0', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); COMMIT; START TRANSACTION; INSERT INTO "tags" ("name", "is_global") VALUES ('1', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); COMMIT; START TRANSACTION; INSERT INTO "tags" ("name", "is_global") VALUES ('2', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); COMMIT; START TRANSACTION; INSERT INTO "tags" ("name", "is_global") VALUES ('3', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); COMMIT; START TRANSACTION; INSERT INTO "tags" ("name", "is_global") VALUES ('4', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); COMMIT; START TRANSACTION; INSERT INTO "tags" ("name", "is_global") VALUES ('5', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); COMMIT; START TRANSACTION; INSERT INTO "tags" ("name", "is_global") VALUES ('6', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); COMMIT; START TRANSACTION; INSERT INTO "tags" ("name", "is_global") VALUES ('7', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); COMMIT; START TRANSACTION; INSERT INTO "tags" ("name", "is_global") VALUES ('8', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); COMMIT; START TRANSACTION; INSERT INTO "tags" ("name", "is_global") VALUES ('9', 'y'); -SELECT CURRVAL('tags_id_seq'); +SELECT CURRVAL('"tags_id_seq"'); COMMIT; SELECT "tags".* FROM "tags" AS "tags"; START TRANSACTION; INSERT INTO "publishers" ("name") VALUES ('Nextras Publisher'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "publishers_x_tags" ("publisher_id", "tag_id") VALUES (4, 1), (4, 2), (4, 3), (4, 4), (4, 5), (4, 6), (4, 7), (4, 8), (4, 9), (4, 10), (4, 11), (4, 12), (4, 13); COMMIT; SELECT "tags".* FROM "tags" AS "tags" ORDER BY "tags"."id" ASC; START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('A2', '2021-03-21 08:23:00.000000'::timestamp, 'http://www.example.com', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('P2'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('Some Book Title', 3, NULL, NULL, NULL, 5, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books_x_tags" ("book_id", "tag_id") VALUES (5, 1); COMMIT; SELECT "books_x_tags"."tag_id", "books_x_tags"."book_id" FROM "tags" AS "tags" LEFT JOIN "books_x_tags" AS "books_x_tags" ON ("books_x_tags"."tag_id" = "tags"."id") WHERE "books_x_tags"."book_id" IN (5); diff --git a/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryPersistenceTest_testOneHasOneDirected.sql b/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryPersistenceTest_testOneHasOneDirected.sql index 4eeb3be8..4f337094 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryPersistenceTest_testOneHasOneDirected.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryPersistenceTest_testOneHasOneDirected.sql @@ -1,10 +1,10 @@ START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('The Imp', '2000-01-01 12:12:12.000000'::timestamp, 'localhost', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"'); INSERT INTO "publishers" ("name") VALUES ('Valyria'); -SELECT CURRVAL('publishers_publisher_id_seq'); +SELECT CURRVAL('"publishers_publisher_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('The Wall II', 3, NULL, NULL, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); INSERT INTO "books" ("title", "author_id", "translator_id", "next_part", "ean_id", "publisher_id", "published_at", "printed_at", "price", "price_currency", "orig_price_cents", "orig_price_currency") VALUES ('The Wall', 3, 3, 5, NULL, 4, '2021-12-31 23:59:59.000000'::timestamp, NULL, NULL, NULL, NULL, NULL); -SELECT CURRVAL('books_id_seq'); +SELECT CURRVAL('"books_id_seq"'); COMMIT; diff --git a/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryPersistenceTest_testUnsettedNotNullProperty.sql b/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryPersistenceTest_testUnsettedNotNullProperty.sql index dbc0114c..655e7c43 100644 --- a/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryPersistenceTest_testUnsettedNotNullProperty.sql +++ b/tests/sqls/NextrasTests/Orm/Integration/Repository/RepositoryPersistenceTest_testUnsettedNotNullProperty.sql @@ -1,3 +1,3 @@ START TRANSACTION; INSERT INTO "public"."authors" ("name", "born", "web", "favorite_author_id") VALUES ('Author', '2021-03-21 08:23:00.000000'::timestamp, 'localhost', NULL); -SELECT CURRVAL('authors_id_seq'); +SELECT CURRVAL('"authors_id_seq"');