Rename "pastebin" database to "paste"

Summary:
See D20650. Long ago, this got added as "pastebin", but that's the name of another product/company, not a generic term for paste storage.

Rename the database to `phabricator_paste`.

(An alternate version of this patch would rename `phabricator_search` to `phabricator_bing`, `phabricator_countdown` to `phabricator_spacex`, `phabricator_pholio` to `phabricator_adobe_photoshop`, etc.)

Test Plan:
  - Grepped for `pastebin`, now only found references in old patches.
  - Applied patches.
  - Browsed around Paste in the UI without encountering issues.

Reviewers: amckinley

Reviewed By: amckinley

Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam

Differential Revision: https://secure.phabricator.com/D20661
This commit is contained in:
epriestley
2019-07-18 10:31:52 -07:00
parent cb4add3116
commit f55aac49f4
8 changed files with 16 additions and 3 deletions

View File

@@ -0,0 +1,2 @@
RENAME TABLE {$NAMESPACE}_pastebin.edge
TO {$NAMESPACE}_paste.edge;

View File

@@ -0,0 +1,2 @@
RENAME TABLE {$NAMESPACE}_pastebin.edgedata
TO {$NAMESPACE}_paste.edgedata;

View File

@@ -0,0 +1,2 @@
RENAME TABLE {$NAMESPACE}_pastebin.pastebin_paste
TO {$NAMESPACE}_paste.paste;

View File

@@ -0,0 +1,2 @@
RENAME TABLE {$NAMESPACE}_pastebin.pastebin_pastetransaction
TO {$NAMESPACE}_paste.paste_transaction;

View File

@@ -0,0 +1,2 @@
RENAME TABLE {$NAMESPACE}_pastebin.pastebin_pastetransaction_comment
TO {$NAMESPACE}_paste.paste_transaction_comment;