Skip to content

Commit

Permalink
feat(rtl): add note about updating rtl boards in postgres
Browse files Browse the repository at this point in the history
right to left
right_to_left
  • Loading branch information
unenglishable committed Feb 12, 2025
1 parent b1fc85f commit d34b617
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions rtl_boards.txt
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);

0 comments on commit d34b617

Please sign in to comment.