Commits

Ada Young committed 5928cd9

More planned aliases, better db model

Comments (0)

Files changed (1)

     WarpDB:endpoints - Display a list of all areas you can reach from your location
     WarpDB:search from:<area name> to:<area name> - Display a list of warps connecting the specified areas
 
+    WarpDB:export <area name> - Export all outgoing warps from a given area
+    WarpDB:import - Import a list of warps exported by the above alias
+
 The plugin will ask you for a file location on first load, just point it wherever you want your database file to be created. If you get "OperationalError: database is locked" error while trying to add an entry, please delete the .journal file in %APPDATA%\MUSHClient to resolve the issue.
 ]]>
 </description>
         source_areaid INTEGER REFERENCES arealist(id) ON DELETE CASCADE
     )""")
     cursor.execute("""
-    CREATE INDEX IF NOT EXISTS logs_index ON org_logs (orgid, timestamp, message)
+    CREATE INDEX IF NOT EXISTS warp_index ON warplist (source, destination)
     """)
     db.commit()