pastepwn icon indicating copy to clipboard operation
pastepwn copied to clipboard

Tags for pastes in the database

Open d-Rickyy-b opened this issue 7 years ago • 2 comments

d-Rickyy-b avatar Sep 16 '18 16:09 d-Rickyy-b

Maybe with the ability to store it with multipe tags e.g. if the paste was matched by two different analyzers.

{
    "tags": [
        "login",
        "creditcard",
        "minecraft-serverlog"
    ]
}

DaRuudii avatar Sep 24 '18 18:09 DaRuudii

This can be easily implemented for mongodb, but it's harder to do for classical relational databases such as sqlite. There needs to be a tags table with all the tags and another table for the relation between a paste and all the related tags.

d-Rickyy-b avatar Sep 30 '19 17:09 d-Rickyy-b