generated from DbUp/dbup-provider-template
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathDatabaseSupportTests.VerifyBasicSupport.approved.txt
42 lines (41 loc) · 2.02 KB
/
DatabaseSupportTests.VerifyBasicSupport.approved.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
DB Operation: Open connection
Info: Beginning database upgrade
Info: Checking whether journal table exists
DB Operation: Execute scalar command: select 1 from user_tables where table_name = 'SCHEMAVERSIONS'
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 user_tables where table_name = 'SCHEMAVERSIONS'
DB Operation: Dispose command
Info: Creating the "schemaversions" table
DB Operation: Execute non query command: CREATE SEQUENCE schemaversions_sequence
DB Operation: Dispose command
DB Operation: Execute non query command: CREATE TABLE schemaversions
(
schemaversionid NUMBER(10),
scriptname VARCHAR2(255) NOT NULL,
applied TIMESTAMP NOT NULL,
CONSTRAINT PK_schemaversions PRIMARY KEY (schemaversionid)
)
DB Operation: Dispose command
DB Operation: Execute non query command: CREATE OR REPLACE TRIGGER schemaversions_on_insert
BEFORE INSERT ON schemaversions
FOR EACH ROW
BEGIN
SELECT schemaversions_sequence.nextval
INTO :new.schemaversionid
FROM dual;
END;
DB Operation: Dispose command
Info: The "schemaversions" table has been created
DB Operation: Execute non query command: script1contents
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 SCHEMAVERSIONS (ScriptName, Applied) values (:scriptName,:applied)
DB Operation: Dispose command
Info: Upgrade successful
DB Operation: Dispose connection