This avoids leaking org IDs in the URL, and makes it possible to have a district-specific root mock that works in both dev and prod.
4 lines
132 B
SQL
4 lines
132 B
SQL
-- +goose Up
|
|
ALTER TABLE organization ADD COLUMN slug VARCHAR(24) UNIQUE;
|
|
-- +goose Down
|
|
ALTER TABLE organization DROP COLUMN slug;
|