Elffuss BraidHub

kikocis/EonaX-Shared-Resources public

main · 721 BRawPermalink
1/*
2 * Copyright (c) 2023 Metaform Systems, Inc.
3 *
4 * This program and the accompanying materials are made available under the
5 * terms of the Apache License, Version 2.0 which is available at
6 * https://www.apache.org/licenses/LICENSE-2.0
7 *
8 * SPDX-License-Identifier: Apache-2.0
9 *
10 * Contributors:
11 * Metaform Systems, Inc. - initial API and implementation
12 *
13 */
14
15-- only intended for and tested with Postgres!
16CREATE TABLE IF NOT EXISTS did_resources
17(
18 did VARCHAR NOT NULL,
19 create_timestamp BIGINT NOT NULL,
20 state_timestamp BIGINT NOT NULL,
21 state INT NOT NULL,
22 did_document JSON NOT NULL,
23 participant_id VARCHAR,
24 PRIMARY KEY (did)
25);