You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AFAIK the constraint was changed to allow multiple assets with the NUMS script key.
Instead we could use NULL as the script_key_id, interpret that as being the NUMS point and turn the unique constraint into a CHECK function that checks different uniqueness levels, depending on whether the script_key_id is null or not.
The text was updated successfully, but these errors were encountered:
Currently the
UNIQUE
constraint in theassets
is broken, since adding the primary key of the table to theUNIQUE
constraint basically makes it useless: https://github.com/lightninglabs/taro-private/blob/main/tarodb/sqlc/migrations/000002_assets.up.sql#L177AFAIK the constraint was changed to allow multiple assets with the NUMS script key.
Instead we could use NULL as the
script_key_id
, interpret that as being the NUMS point and turn the unique constraint into aCHECK
function that checks different uniqueness levels, depending on whether thescript_key_id
is null or not.The text was updated successfully, but these errors were encountered: