Skip to content

Commit

Permalink
Contact/Contactgroup: Drop column color
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 authored and julianbrost committed Jun 13, 2024
1 parent a6cc99b commit c0880db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions schema/pgsql/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ CREATE TABLE contact (
full_name citext NOT NULL,
username citext, -- reference to web user
default_channel_id bigint NOT NULL REFERENCES channel(id),
color varchar(7) NOT NULL, -- hex color codes e.g #000000

CONSTRAINT pk_contact PRIMARY KEY (id),
UNIQUE (username)
Expand All @@ -73,7 +72,6 @@ CREATE TABLE contact_address (
CREATE TABLE contactgroup (
id bigserial,
name citext NOT NULL,
color varchar(7) NOT NULL, -- hex color codes e.g #000000

CONSTRAINT pk_contactgroup PRIMARY KEY (id)
);
Expand Down
2 changes: 2 additions & 0 deletions schema/pgsql/upgrades/028.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE contact DROP COLUMN color;
ALTER TABLE contactgroup DROP COLUMN color;

0 comments on commit c0880db

Please sign in to comment.