Remove Serbian colors including Braon from database
- Remove Serbian color entries from schema.sql - Add migration to delete Serbian colors from existing databases - Add migration runner scripts for easier database updates - Install pg package for PostgreSQL client support 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: DaX <noreply@anthropic.com>
This commit is contained in:
@@ -51,16 +51,4 @@ CREATE TRIGGER update_filaments_updated_at BEFORE UPDATE
|
||||
CREATE TRIGGER update_colors_updated_at BEFORE UPDATE
|
||||
ON colors FOR EACH ROW EXECUTE FUNCTION update_updated_at_column();
|
||||
|
||||
-- Insert default colors from legacy data
|
||||
INSERT INTO colors (name, hex) VALUES
|
||||
('Crna', '#000000'),
|
||||
('Bela', '#FFFFFF'),
|
||||
('Plava', '#0000FF'),
|
||||
('Crvena', '#FF0000'),
|
||||
('Zelena', '#00FF00'),
|
||||
('Žuta', '#FFFF00'),
|
||||
('Narandžasta', '#FFA500'),
|
||||
('Ljubičasta', '#800080'),
|
||||
('Siva', '#808080'),
|
||||
('Braon', '#A52A2A')
|
||||
ON CONFLICT (name) DO NOTHING;
|
||||
-- Default colors are now inserted by Bambu Lab colors migration
|
||||
Reference in New Issue
Block a user