communities-create.sql

  • last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Reverted all changes from Mannheim

  1. … 222 more files in changeset.
Mannheim update, fix and merge bugbash

  1. … 197 more files in changeset.
First shot at merging oacs-5-2 apps used in .LRN to HEAD.

  1. … 2478 more files in changeset.
Fix #2762. Adding oracle sql for site-templates and member-emails.

  1. … 7 more files in changeset.
committing changes, improvements and fixes to assessment, assessment-portlet, dotlrn, dotlrn-assessment, dotlrn-catalog, dotlrn-evaluation, ecommerce, evaluation and evaluation-portlet

  1. … 913 more files in changeset.
merging the dotlrn-1-0 branch down onto HEAD (the trunk)

  1. … 200 more files in changeset.
I removed the composite index that checks for uniqueness of the community_type

and supertype pair. This index broke installation if the Oracle blocksize is

less than 8KB (which is true by default on at least some platforms).

The unique constraint was unnecessary since community_type was already declared as the

table's primary key. Because of this, only one row with a given community_type name

is possible, which means the composite key (community_type, supertype) is guaranteed

to be unique.

Removing the index will also speed community creation slightly, save a bit of

disk space, etc etc.

Note that the composite index was useless for lookups on the supertype alone

anyway (since community_type was the leftmost member of the composite key), and that

any queries on the type hierarchy ought to use the denormalized table defined

by acs-objects-metadata.sql anyway.

So the index seems entirely useless to me.

  1. … 1 more file in changeset.
copyright OpenForce -> MIT

  1. … 546 more files in changeset.
some changes regarding dotlrn applets. the data model has changed. some other

small api changes. most of these api are not used.

  1. … 33 more files in changeset.
fix typo

removed unused columns; you can just drop them and recreate any dependent views

One of the index names was too long for oracle

added some indexes

  1. … 1 more file in changeset.
now using "tree_sortkey" instead of "connect by"

  1. … 8 more files in changeset.
added drop scripts. KEEP THEM UP TO DATE OR SUFFER THE WRATH OF YON

  1. … 30 more files in changeset.
1. Added add_portlet/remove_portlet calls that accept portal_id as a param,

so that we can call this code from within the applet itself (e.g. add_user_to_community)

and be called directly so that we can create portal templates.

2. Infrastructure for applet cloning

3. New portal types system in dotlrn which replaces dummy_comm_p

4. Minor fixes to portal configuration, dotlrn-static

5. renamed add_element_or_append_id and remove_element_or_remove_id to

add_element_parameters and remove_element_parameters respectively

  1. … 76 more files in changeset.
apparently we can't have a foreign key constraint on the package_id column of dotlrn_community_applets. i don't have time to look into why not right now so i am just removing the constraint

changing communities data model

  1. … 4 more files in changeset.
removed anything pertaining to user's portals for a community, we don't support that anymore; renamed sql files

    • -0
    • +142
    ./communities-create.sql
  1. … 131 more files in changeset.