From d4bb7be26d862687f0e67de963263b0cf77c7f0f Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Wed, 27 Feb 2013 18:42:07 -0800 Subject: [PATCH] Change delete to deactivate in 2 more places; #54 --- schema.sql | 8 ++++---- templates/profile-edit.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/schema.sql b/schema.sql index 4b78787f56..40a8c9c3df 100644 --- a/schema.sql +++ b/schema.sql @@ -305,16 +305,16 @@ ALTER TABLE elsewhere ADD CONSTRAINT "elsewhere_platform_participant_id_key" ------------------------------------------------------------------------------- -- https://github.com/zetaweb/www.gittip.com/issues/586 -CREATE TABLE deletions +CREATE TABLE deactivations ( id serial PRIMARY KEY , timestamp timestamp with time zone NOT NULL DEFAULT CURRENT_TIMESTAMP -, deleted_was text NOT NULL +, deactivated_was text NOT NULL -- Not a foreign key! This is soft-immutable. , archived_as text NOT NULL REFERENCES participants ON DELETE RESTRICT ON UPDATE RESTRICT - -- UPDATE RESTRICT is a sanity check: noone should be changing - -- participant_ids of deleted accounts. + -- UPDATE RESTRICT is a sanity check: no-one should be changing + -- participant_ids of deactivated accounts. ); diff --git a/templates/profile-edit.html b/templates/profile-edit.html index ce6e9d9522..62058a52b5 100644 --- a/templates/profile-edit.html +++ b/templates/profile-edit.html @@ -98,7 +98,7 @@

Funding Goal {% include "connected-accounts.html" %} - +

Deactivate Your Account(!)

Read about deactivating your account.