JeffersonLab / ccdb

Jefferson Lab Calibration and Conditions Database (CCDB)
8 stars 14 forks source link

Retroactively adding comments #56

Open cqplatt opened 7 years ago

cqplatt commented 7 years ago

Hi,

Is it possible to retroactively add comments to tables, identified by ID or date or similar?

Thanks.

DraTeots commented 7 years ago

What do you mean by that? To edit existing comment? Or add comments as labels?

For now, one can edit existing comment by editing MySQL database directly. Comments are a plain string field of the typeTables DB table. It is pretty easy to implement a command for CCDB CLI doing it.

cqplatt commented 7 years ago

Ah, to clarify: I mean add or edit comments in the (comments) column for versions of a table (listed with vers [table]). A way to do this directly with the CCDB-CLI itself would be much appreciated.