| Current Path : /home3/gp97/compta.penannou.97gp.net/data/plugins/usermap/ |
| Current File : //home3/gp97/compta.penannou.97gp.net/data/plugins/usermap/schema.sql |
DROP TABLE IF EXISTS plugin_usermap_locations; CREATE TABLE IF NOT EXISTS plugin_usermap_locations ( id_user INTEGER NOT NULL PRIMARY KEY REFERENCES users(id) ON DELETE CASCADE, address_hash TEXT NOT NULL, lat REAL NULL, lon REAL NULL ); CREATE INDEX IF NOT EXISTS plugin_usermap_locations_hash ON plugin_usermap_locations (id_user, address_hash);