Add SQL script to create the lifecycle-log table.

This table may be created in a separate database or in a repository. Currently, the server will only use one lifecycle_log table for all repositories.