From e5874b47e03cd4f101396bb7ef0f90249c8d0ea7 Mon Sep 17 00:00:00 2001 From: felipe stival <14948182+v0idpwn@users.noreply.github.com> Date: Wed, 27 Sep 2023 15:44:01 +0300 Subject: [PATCH] Fix pgmq.meta not having is_unlogged for extensionless (#126) --- core/Cargo.toml | 2 +- core/src/query.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/Cargo.toml b/core/Cargo.toml index 62537c3e..0c53c3ba 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pgmq-core" -version = "0.6.0" +version = "0.6.1" edition = "2021" authors = ["Tembo.io"] description = "Core functionality shared between the PGMQ Rust SDK and Postgres Extension" diff --git a/core/src/query.rs b/core/src/query.rs index 6d88aff6..7b6d2648 100644 --- a/core/src/query.rs +++ b/core/src/query.rs @@ -75,6 +75,7 @@ pub fn create_meta() -> String { CREATE TABLE IF NOT EXISTS {PGMQ_SCHEMA}.meta ( queue_name VARCHAR UNIQUE NOT NULL, is_partitioned BOOLEAN NOT NULL, + is_unlogged BOOLEAN NOT NULL, created_at TIMESTAMP WITH TIME ZONE DEFAULT now() NOT NULL ); "