Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tags for pastes in the database #17

Open
d-Rickyy-b opened this issue Sep 16, 2018 · 2 comments
Open

Tags for pastes in the database #17

d-Rickyy-b opened this issue Sep 16, 2018 · 2 comments
Labels
New feature For suggesting a new feature

Comments

@d-Rickyy-b
Copy link
Owner

No description provided.

@d-Rickyy-b d-Rickyy-b added the New feature For suggesting a new feature label Sep 16, 2018
@DaRuudii
Copy link
Contributor

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"
    ]
}

@d-Rickyy-b
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New feature For suggesting a new feature
Projects
None yet
Development

No branches or pull requests

2 participants