All Downloads are FREE. Search and download functionalities are using the official Maven repository.

db.db.activity_definitions.changelog-1.0.0.xml Maven / Gradle / Ivy




	
	

	
		
			
				
			
			
				
			
			
			
				
			
		

		

		
			ALTER TABLE activity_definitions OWNER TO ${db.liquibase_user};
			GRANT ALL ON TABLE activity_definitions TO ${db.liquibase_user};
			GRANT SELECT, INSERT, UPDATE ON TABLE activity_definitions TO ${db.server_users_group};
			GRANT SELECT, DELETE ON TABLE activity_definitions TO ${db.server_permanent_delete_users_group};
			CREATE INDEX activity_definition_id_index ON activity_definitions USING btree (activity_definition_id);
			CREATE INDEX activity_definition_index ON activity_definitions USING gin (activity_definition);
			CREATE INDEX activity_definition_id_version_index ON activity_definitions USING btree (activity_definition_id, version);
		

		
			SELECT activity_definition_id, version, activity_definition
			FROM (
				SELECT DISTINCT ON (activity_definition_id) activity_definition_id, version, deleted, activity_definition
				FROM activity_definitions ORDER BY activity_definition_id, version DESC
			) AS current_ad
			WHERE deleted IS NULL
		

		
			ALTER TABLE current_activity_definitions OWNER TO ${db.liquibase_user};
			GRANT ALL ON TABLE current_activity_definitions TO ${db.liquibase_user};
			GRANT SELECT ON TABLE current_activity_definitions TO ${db.server_users_group};
		
	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy