Skip to content

Commit

Permalink
Merge auth sql files (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtek-coreum authored Jan 26, 2024
1 parent 4368eee commit 914575c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
9 changes: 9 additions & 0 deletions database/schema/01-auth.sql
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,12 @@ CREATE TABLE vesting_period
length BIGINT NOT NULL,
amount COIN[] NOT NULL DEFAULT '{}'
);

CREATE TABLE auth_params
(
one_row_id BOOLEAN NOT NULL DEFAULT TRUE PRIMARY KEY,
params JSONB NOT NULL,
height BIGINT NOT NULL,
CHECK (one_row_id)
);
CREATE INDEX auth_params_height_index ON auth_params (height);
10 changes: 0 additions & 10 deletions database/schema/01-authparams.sql

This file was deleted.

0 comments on commit 914575c

Please sign in to comment.