﻿DB Operation: Open connection
Info:         Beginning transaction
DB Operation: Begin transaction
Info:         Beginning database upgrade
Info:         Checking whether journal table exists..
DB Operation: Execute scalar command: select 1 from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'SchemaVersions' and TABLE_SCHEMA = 'dbo'
DB Operation: Dispose command
Info:         Journal table does not exist
Info:         Executing Database Server script 'Script0001.sql'
Info:         Checking whether journal table exists..
DB Operation: Execute scalar command: select 1 from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'SchemaVersions' and TABLE_SCHEMA = 'dbo'
DB Operation: Dispose command
Info:         Creating the [dbo].[SchemaVersions] table
DB Operation: Execute non query command: create table [dbo].[SchemaVersions] (
    [Id] int identity(1,1) not null constraint [PK_SchemaVersions_Id] primary key,
    [ScriptName] nvarchar(255) not null,
    [Applied] datetime not null
)
DB Operation: Dispose command
Info:         The [dbo].[SchemaVersions] table has been created
DB Operation: Execute non query command: print 'script1'
DB Operation: Dispose command
DB Operation: Create parameter
Info:         DB Operation: Add parameter to command: scriptName=Script0001.sql
DB Operation: Create parameter
Info:         DB Operation: Add parameter to command: applied=<date>
DB Operation: Execute non query command: insert into [dbo].[SchemaVersions] (ScriptName, Applied) values (@scriptName, @applied)
DB Operation: Dispose command
Info:         Executing Database Server script 'Script0002.sql'
DB Operation: Execute non query command: print 'script2'
DB Operation: Dispose command
DB Operation: Create parameter
Info:         DB Operation: Add parameter to command: scriptName=Script0002.sql
DB Operation: Create parameter
Info:         DB Operation: Add parameter to command: applied=<date>
DB Operation: Execute non query command: insert into [dbo].[SchemaVersions] (ScriptName, Applied) values (@scriptName, @applied)
DB Operation: Dispose command
Info:         Upgrade successful
DB Operation: Commit transaction
DB Operation: Dispose transaction
DB Operation: Dispose connection
