discourse/db
Osama Sayegh a793f4843b
DEV: Introduce theme-owned color palettes (#30915)
Related to https://github.com/discourse/discourse/pull/30893

As part of the theme overhauling project, we're making each theme fully
own/control its color palette which can be edited directly on the theme
page. To make this possible, we need to introduce a special type of
color palettes that are marked as "owned by a theme" in the database
which aren't displayed in the admin color palettes page and can't be
edited from it. This commit is the first step of this change; it adds a new
join table to associate a color palette with a theme. For now, we're
keeping the relationship one-to-one (hence the `UNIQUE` indexes), but we
may later change it to one-to-many.

Internal topic: t/141648.
2025-01-22 12:03:37 +03:00
..
fixtures DEV: update more deprecated font awesome icon names (#30123) 2024-12-05 15:20:02 +08:00
migrate DEV: Introduce theme-owned color palettes (#30915) 2025-01-22 12:03:37 +03:00
post_migrate DEV: Bump rubocop_discourse (#29608) 2024-11-06 06:27:49 +08:00
api_test_seeds.rb DEV: Apply syntax_tree formatting to db/* 2023-01-09 11:59:41 +00:00