PRAGMA foreign_keys = 1; | PRAGMA foreign_keys = 1; | ||||
DROP TABLE IF EXISTS dds_meta; | DROP TABLE IF EXISTS dds_meta; | ||||
CREATE TABLE IF NOT EXISTS dds_meta_1 AS | CREATE TABLE IF NOT EXISTS dds_meta_1 AS | ||||
WITH init (version) AS (VALUES ('eggs')) | |||||
WITH init (version) AS (VALUES ('')) | |||||
SELECT * FROM init; | SELECT * FROM init; | ||||
)"); | )"); | ||||
nsql::transaction_guard tr{db}; | nsql::transaction_guard tr{db}; |