Use index on url attr

Table structure has changed and we now use an index url attribute.

table name still needs to be changed in dump.py (waiting for the end of restoration)