annotate plugins/calendar/drivers/database/SQL/postgres/2015022700.sql @ 42:db1e51c59ddc

various small fixes from upgrades to PHP and/or hangover from fix to apt-get overwrite at beginning of the year somehow
author Charlie Root
date Sun, 26 Jan 2025 13:12:28 -0500
parents f6fe4b6ae66a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
f6fe4b6ae66a calendar plugin nearly as distributed
Charlie Root
parents:
diff changeset
1 -- add identifier for recurring instances and exceptions
f6fe4b6ae66a calendar plugin nearly as distributed
Charlie Root
parents:
diff changeset
2
f6fe4b6ae66a calendar plugin nearly as distributed
Charlie Root
parents:
diff changeset
3 ALTER TABLE events ADD instance character varying(16) NOT NULL;
f6fe4b6ae66a calendar plugin nearly as distributed
Charlie Root
parents:
diff changeset
4 ALTER TABLE events ADD isexception smallint NOT NULL DEFAULT '0';
f6fe4b6ae66a calendar plugin nearly as distributed
Charlie Root
parents:
diff changeset
5
f6fe4b6ae66a calendar plugin nearly as distributed
Charlie Root
parents:
diff changeset
6 -- extend alarms columns for multiple values
f6fe4b6ae66a calendar plugin nearly as distributed
Charlie Root
parents:
diff changeset
7
f6fe4b6ae66a calendar plugin nearly as distributed
Charlie Root
parents:
diff changeset
8 ALTER TABLE events ALTER COLUMN alarms TYPE text;
f6fe4b6ae66a calendar plugin nearly as distributed
Charlie Root
parents:
diff changeset
9