We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
docker run --name my-postgres -e POSTGRES_PASSWORD=mysecretpassword -d postgres
CREATE TABLE States ( id SERIAL, key varchar(255) PRIMARY KEY, scope varchar(255), value json );
Add a unique constraing
ALTER TABLE states ADD CONSTRAINT states_scope_key_unique UNIQUE (scope, key);
postgres://postgres:mysecretpassword@localhost:5433/postgres