ddl.GrouperDdl_Grouper_36_upgradeTo_37_postgres.sql Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grouper Show documentation
Show all versions of grouper Show documentation
Internet2 Groups Management Toolkit
ALTER TABLE grouper_sync_group ADD COLUMN metadata_json VARCHAR(4000);
COMMENT ON COLUMN grouper_sync_group.metadata_json IS 'additional metadata for group';
update grouper_ddl set last_updated = to_char(current_timestamp, 'YYYY/MM/DD HH12:MI:SS'), history = substring((to_char(current_timestamp, 'YYYY/MM/DD HH12:MI:SS') || ': upgrade Grouper from V' || db_version || ' to V37, ' || history) from 1 for 3500), db_version = 37 where object_name = 'Grouper';
commit;