• last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Accidently added this to the 5.5 branch rather than HEAD earlier (but it

does no harm there so will leave it there).

    • -329
    • +12
    ./oracle/upgrade/upgrade-5.6.0d4-5.6.0d5.sql
    • -0
    • +334
    ./oracle/upgrade/upgrade-5.6.0d5-5.6.0d6.sql
I had forgotten to add the "apm_package.is_child" function to 5.5 ...

    • -0
    • +334
    ./oracle/upgrade/upgrade-5.6.0d5-5.6.0d6.sql
file upgrade-5.6.0d5-5.6.0d6.sql was initially added on branch oacs-5-5.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.6.0d5-5.6.0d6.sql
Fixing constraint snom_node_id_fk, was connecting wrong field on table. Creation scripts are ok, just needed to correct upgrade files.

    • -0
    • +3
    ./postgresql/upgrade/upgrade-5.6.0d4-5.6.0d5.sql
  1. … 1 more file in changeset.
More "extends" fixing

    • -0
    • +333
    ./oracle/upgrade/upgrade-5.6.0d4-5.6.0d5.sql
add three column constraint to acs_data_links

    • -5
    • +4
    ./postgresql/acs-relationships-create.sql
drop acs_data_links unique constraint, use unique index instead.

    • -4
    • +6
    ./postgresql/acs-relationships-create.sql
TIP #138 - Add relation_tag to acs_data_links

    • -0
    • +9
    ./oracle/upgrade/upgrade-5.6.0d3-5.6.0d4.sql
    • -3
    • +4
    ./postgresql/acs-relationships-create.sql
    • -0
    • +9
    ./postgresql/upgrade/upgrade-5.6.0d3-5.6.0d4.sql
  1. … 4 more files in changeset.
Some very archaic PG code that was only working because of weak type checking

in earlier versions. Uncovered by playing with the subsite admin object type

code.

Added some missing attributes (more to go, though, damn core datamodel)

    • -1
    • +17
    ./postgresql/acs-objects-create.sql
    • -0
    • +16
    ./postgresql/upgrade/upgrade-5.6.0d2-5.6.0d3.sql
Someone didn't realize that "foo;null" in define_function_args calls sets the

default value to 'null' not NULL...this has been there a long time ... maybe

even my fault, but I don't remember, it's ancient!

Got rid of 'bio' attribute declared for 'user' type.

    • -16
    • +0
    ./postgresql/upgrade/upgrade-5.6.0d2-5.6.0d3.sql
Fixed the upgrade script ...

Moved "bio" back to "person", but with type-specific storage. People can

fight over where such things belong on another day, for now keeping it in

"person" has the advantage that the Tcl API is 100% unchanged so moving it

to type-specific storage won't break .LRN.

    • -13
    • +13
    ./oracle/community-core-create.sql
    • -7
    • +4
    ./postgresql/community-core-create.sql
    • -3
    • +20
    ./postgresql/upgrade/upgrade-5.6.0d1-5.6.0d2.sql
  1. … 5 more files in changeset.
One more upgrade ...

    • -0
    • +43
    ./postgresql/upgrade/t.sql
    • -0
    • +59
    ./postgresql/upgrade/upgrade-5.6.0d2-5.6.0d3.sql
Added attributes for "user" columns "screen_name" and "username", as well as the

new "bio" column which replaces the old generic storage attribute assigned to

"person".

    • -0
    • +38
    ./oracle/upgrade/upgrade-5.6.0d2-5.6.0d3.sql
    • -1
    • +51
    ./postgresql/community-core-create.sql
  1. … 2 more files in changeset.
Added bio to users table. Now both initial install and upgrade from older

versions appear to work.

Magically transformed the upgrade script from PG to Oracle.

    • -26
    • +72
    ./oracle/upgrade/upgrade-5.6.0d1-5.6.0d2.sql
Added upgrade scripts (Oracle isn't correct, yet), removed bogus attribute

sql files (PG, for instance, created bio and bio_mime_type but only

dropped bio, Oracle had not bio_mime_type_reference at all).

    • -0
    • +42
    ./oracle/upgrade/upgrade-5.6.0d1-5.6.0d2.sql
    • -0
    • +42
    ./postgresql/upgrade/upgrade-5.6.0d1-5.6.0d2.sql
  1. … 2 more files in changeset.
Moved "bio" from person/generic storage to user/type-specific storage as TIP'd

(PG only, Oracle to follow soon).

    • -1
    • +2
    ./postgresql/community-core-create.sql
  1. … 6 more files in changeset.
Fixed daveb's connect by and nextval, for initial install and upgrade (change

to acs_group.new)

Update put the index creation before the table creation.

- Add two missing indices to improve performance of permission system

and the object context hierarchy significantly (these two indices

improved the performance of e.g. /projects/openacs/download/ and

/projects/openacs/download/one-revision?revision_id=2089636 by more

than a factor of 10; these indices are now among the most used on

openacs.org)

- Bump version number

    • -0
    • +1
    ./oracle/upgrade/upgrade-5.5.0d5-5.5.0d6.sql
    • -1
    • +8
    ./postgresql/acs-permissions-create.sql
    • -0
    • +2
    ./postgresql/upgrade/upgrade-5.5.0d5-5.5.0d6.sql
  1. … 1 more file in changeset.
Fix acs_group__new to create group_rels for all group supertypes

    • -0
    • +206
    ./oracle/upgrade/upgrade-5.5.0d4-5.5.0d5.sql
    • -5
    • +19
    ./postgresql/groups-body-create.sql
    • -0
    • +90
    ./postgresql/upgrade/upgrade-5.5.0d4-5.5.0d5.sql
  1. … 1 more file in changeset.
switch foo_id_seq.netval to nextval('t_foo_id_seq') calls to placate postgresql 8.

  1. … 7 more files in changeset.
Fixed daveb's auth upgrade scripts for oracle, and added the new columns to

the table definitions used by initial install.

wipe out ad_parameter from kernel files

Preliminary version of "extend package" code, along with new package

attributes that allow the declaration of packages that are subsites.

    • -0
    • +1393
    ./oracle/upgrade/upgrade-5.5.0d3-5.5.0d4.sql
    • -0
    • +282
    ./postgresql/upgrade/upgrade-5.5.0d3-5.5.0d4.sql
  1. … 24 more files in changeset.
- drop_package('...') complain in new versions that it can't drop

some stored procedures. Adding therefore a CASCADE to

the get_func_drop_command().

Fix totally broken syntax for contraints