From: Bharat M. <bh...@us...> - 2002-10-26 08:14:00
|
Update of /cvsroot/gallery/gallery2/modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/mysql In directory usw-pr-cvs1:/tmp/cvs-serv6993/modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/mysql Modified Files: GalleryEntity.sql Log Message: * Changed the way that module installs works. Moved the core install code out of setup.php & unit tests, and into the module.inc itself. GalleryModule now has an install() method where the module can allow the GalleryStore to do all of its configuration. This has several big benefits: - we don't have to duplicate initial params for the core in the setup.php and unit tests anymore. - we can upgrade the core by dropping in a new version - the core acts pretty much the same as any other module * Permissions now have an 'admin' flag. Any permission that allows editting of an item should have this flag turned on. This will allow us to quickly determine if we should display the [edit item] link * "All admins" is now "Site admins" * GalleryModule now has setModuleParameter/getModuleParameter convenience methods * core:SiteAdmin - AdminModules now has an 'install' option for new modules * removed dataVersion from GalleryEntity -- it's vestigal Index: GalleryEntity.sql =================================================================== RCS file: /cvsroot/gallery/gallery2/modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/mysql/GalleryEntity.sql,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- GalleryEntity.sql 11 Sep 2002 05:41:02 -0000 1.4 +++ GalleryEntity.sql 26 Oct 2002 08:13:27 -0000 1.5 @@ -18,12 +18,6 @@ NOT NULL , - COLUMN_PREFIXdataVersion - int(11) - - NOT NULL - - , COLUMN_PREFIXmodificationTimestamp datetime |