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

How to edit the old thread URL in terminal using "sqlite3"? #270

Closed
SnorlaxYum opened this Issue Sep 8, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@SnorlaxYum

SnorlaxYum commented Sep 8, 2016

I wonder......

@pozitron57

This comment has been minimized.

Contributor

pozitron57 commented Sep 8, 2016

Copy database from /var/lib/isso/comments.db somewhere and do the following:

sqlite3
sqlite> ATTACH 'comments.db' AS isso;
sqlite> SELECT id,uri FROM isso.threads;

This will give you a list with id and uri of all threads. Let us imagine that you want to set new uri for the thread with id=51:

sqlite> UPDATE isso.threads SET uri='/new/uri/' WHERE id=51;
@SnorlaxYum

This comment has been minimized.

SnorlaxYum commented Sep 8, 2016

Thanks! Works again!

@SnorlaxYum SnorlaxYum closed this Nov 29, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment