github.com/kaleido-io/firefly@v0.0.0-20210622132723-8b4b6aacb971/db/migrations/ql/000008_create_operations_table.up.sql (about)

     1  CREATE TABLE operations (
     2    id          string         NOT NULL,
     3    tx_id       string         NOT NULL,
     4    optype      string         NOT NULL,
     5    opstatus    string         NOT NULL,
     6    member      string,
     7    plugin      string         NOT NULL,
     8    backend_id  string         NOT NULL,
     9    created     int64          NOT NULL,
    10    updated     int64,
    11    error       string         NOT NULL,
    12    info        blob
    13  );
    14  
    15  CREATE UNIQUE INDEX operations_primary ON operations(id);
    16  CREATE INDEX operations_created ON operations(created);