DARPA-ASKEM / .github-private

0 stars 0 forks source link

Allow annotation on TERARium artifacts #12

Closed YohannParis closed 1 year ago

YohannParis commented 1 year ago

Design out the capability to add "notes" to an artifact. We want to be able to record

Image

mwdchang commented 1 year ago

I am going to close this as technically the plumbing and APIs are more or less in place /api/annotations.

terarium=# \d+ annotation
                                                    Table "public.annotation"
     Column      |          Type          | Collation | Nullable | Default | Storage  | Compression | Stats target | Description
-----------------+------------------------+-----------+----------+---------+----------+-------------+--------------+-------------
 id              | character varying(255) |           | not null |         | extended |             |              |
 artifactid      | character varying(255) |           |          |         | extended |             |              |
 artifacttype    | character varying(255) |           |          |         | extended |             |              |
 content         | text                   |           |          |         | extended |             |              |
 projectid       | bigint                 |           |          |         | plain    |             |              |
 timestampmillis | bigint                 |           | not null |         | plain    |             |              |
 username        | character varying(255) |           | not null |         | extended |             |              |