mirror of
https://github.com/Hackdex-App/hackdex-website.git
synced 2026-09-10 18:06:43 -05:00
Update tag categories
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
import { IconType } from "react-icons";
|
||||
import { MdCatchingPokemon, MdNewReleases, MdAutoFixHigh, MdSettingsSuggest } from "react-icons/md";
|
||||
import { MdCategory, MdCatchingPokemon, MdNewReleases, MdAutoFixHigh, MdSettingsSuggest } from "react-icons/md";
|
||||
import { BiSolidGame } from "react-icons/bi";
|
||||
import { FaClock, FaGaugeHigh, FaMasksTheater } from "react-icons/fa6";
|
||||
import { IoLogoGameControllerA } from "react-icons/io";
|
||||
|
||||
export const CATEGORY_ICONS: Record<string, IconType> = {
|
||||
"Category": MdCategory,
|
||||
"Pokédex": MdCatchingPokemon,
|
||||
"Sprites": BiSolidGame,
|
||||
"Graphics": BiSolidGame,
|
||||
"New": MdNewReleases,
|
||||
"Altered": MdAutoFixHigh,
|
||||
"Quality of Life": MdSettingsSuggest,
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
DO $$ BEGIN
|
||||
if exists (select 1 from pg_type where typname = 'Tag Categories' and typtype = 'e' and typarray = 0) then
|
||||
alter type public."Tag Categories" rename value 'Sprites' to 'Graphics';
|
||||
end if;
|
||||
END $$;
|
||||
|
||||
alter type public."Tag Categories" add value if not exists 'Category';
|
||||
Reference in New Issue
Block a user