📄 upgrade
字号:
Upgrading the calendar from 1.1 to 1.2 is trivial. Aside from copying theupdated php files from the calendar directory, you will need to add amodify_id column to the srcevent table in srccalendar. To do this,connect to srccalendar using psql and run the following statement:"ALTER TABLE srcevent ADD COLUMN modify_id int4;"===Upgrading the calendar from 1.0 to 1.1 is relatively simple. Aside fromcopying the updated php files from auth and calendar, you will need toedit calendar/includes/config.inc to suit your needs. All otherreferences to Simon's Rock, except that in the footer, have been removedfrom the generated HTML.This version also uses an indexing system, for which you'll need to createa new table in srccalendar. This table is called srcindex, and can becreated as follows in psql:CREATE TABLE "srcindex" ("event_id" "int4" NOT NULL, \ "timestamp" "int4" NOT NULL );CREATE INDEX "srcindex_pkey" on "srcindex" \ using btree( "timestamp" "int4_ops" );This table will then need to be updated, which you can do by opening yourbrowser to your.site.com/yourcalendarbase/genIndex.php3This page can also be used to regenerate the index in the event ofinconsistency.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -