aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/drivers/database/SQL/postgres/2013042700.sql
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/drivers/database/SQL/postgres/2013042700.sql')
-rw-r--r--calendar/drivers/database/SQL/postgres/2013042700.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/calendar/drivers/database/SQL/postgres/2013042700.sql b/calendar/drivers/database/SQL/postgres/2013042700.sql
new file mode 100644
index 0000000..d644c39
--- /dev/null
+++ b/calendar/drivers/database/SQL/postgres/2013042700.sql
@@ -0,0 +1,8 @@
+ALTER SEQUENCE calendar_ids RENAME TO calendars_seq;
+ALTER TABLE calendars ALTER COLUMN calendar_id SET DEFAULT nextval('calendars_seq'::text);
+
+ALTER SEQUENCE event_ids RENAME TO events_seq;
+ALTER TABLE events ALTER COLUMN event_id SET DEFAULT nextval('events_seq'::text);
+
+ALTER SEQUENCE attachment_ids RENAME TO attachments_seq;
+ALTER TABLE attachments ALTER COLUMN attachment_id SET DEFAULT nextval('attachments_seq'::text);

© 2014-2024 Faster IT GmbH | imprint | privacy policy