forked from epochtalk/epochtalk_server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(rtl): add note about updating rtl boards in postgres
right to left right_to_left
- Loading branch information
1 parent
b1fc85f
commit d34b617
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#mysql | ||
mysql> SELECT ID_BOARD, lang FROM smf_boards WHERE lang IN ('ar', 'az', 'dv', 'ff', 'he', 'ku', 'fa', 'ur'); | ||
+----------+------+ | ||
| ID_BOARD | lang | | ||
+----------+------+ | ||
| 241 | ar | | ||
| 242 | ar | | ||
| 265 | ar | | ||
| 253 | ar | | ||
| 266 | ar | | ||
| 267 | ar | | ||
| 271 | ar | | ||
| 95 | he | | ||
+----------+------+ | ||
8 rows in set (0.19 sec) | ||
|
||
# postgres | ||
241, 242, 265, 253, 266, 267, 271, 95 | ||
SELECT name FROM boards WHERE id IN (241, 242, 265, 253, 266, 267, 271, 95); | ||
|
||
name | ||
----------------------------- | ||
العربية (Arabic) | ||
العملات البديلة (Altcoins) | ||
النقاشات | ||
إستفسارات و أسئلة المبتدئين | ||
التعدين | ||
النقاشات الأخرى | ||
منصات التبادل | ||
עברית (Hebrew) | ||
(8 rows) | ||
|
||
UPDATE boards SET right_to_left = TRUE WHERE id IN (241, 242, 265, 253, 266, 267, 271, 95); |