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:
2
resources/sql/autopatches/20190718.paste.01.edge.sql
Normal file
2
resources/sql/autopatches/20190718.paste.01.edge.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
RENAME TABLE {$NAMESPACE}_pastebin.edge
|
||||
TO {$NAMESPACE}_paste.edge;
|
||||
2
resources/sql/autopatches/20190718.paste.02.edgedata.sql
Normal file
2
resources/sql/autopatches/20190718.paste.02.edgedata.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
RENAME TABLE {$NAMESPACE}_pastebin.edgedata
|
||||
TO {$NAMESPACE}_paste.edgedata;
|
||||
2
resources/sql/autopatches/20190718.paste.03.paste.sql
Normal file
2
resources/sql/autopatches/20190718.paste.03.paste.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
RENAME TABLE {$NAMESPACE}_pastebin.pastebin_paste
|
||||
TO {$NAMESPACE}_paste.paste;
|
||||
2
resources/sql/autopatches/20190718.paste.04.xaction.sql
Normal file
2
resources/sql/autopatches/20190718.paste.04.xaction.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
RENAME TABLE {$NAMESPACE}_pastebin.pastebin_pastetransaction
|
||||
TO {$NAMESPACE}_paste.paste_transaction;
|
||||
2
resources/sql/autopatches/20190718.paste.05.comment.sql
Normal file
2
resources/sql/autopatches/20190718.paste.05.comment.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
RENAME TABLE {$NAMESPACE}_pastebin.pastebin_pastetransaction_comment
|
||||
TO {$NAMESPACE}_paste.paste_transaction_comment;
|
||||
Reference in New Issue
Block a user