dibs 0.1.1

Postgres toolkit for Rust, powered by facet reflection
Documentation
1
2
3
4
5
6
7
8
9
10
---
source: crates/dibs/src/diff.rs
expression: table.to_create_table_sql()
---
CREATE TABLE "post_likes" (
    "user_id" BIGINT NOT NULL,
    "post_id" BIGINT NOT NULL,
    "created_at" TIMESTAMPTZ NOT NULL DEFAULT now(),
    PRIMARY KEY ("user_id", "post_id")
);