Hello Allon Mureinik,

I'd like you to do a code review.  Please visit

    http://gerrit.ovirt.org/16172

to review the following change.

Change subject: packaging: Fix storage_format_type default value
......................................................................

packaging: Fix storage_format_type default value

Somewhere in the squashing and migration of the db scripts the default
value of storage_domain_static.storage_format_type was lost.

This patch restores it to the value it had before these patches in order
to allow the DAO tests to run.

Change-Id: I0cecc99eeaf09d4646925c58d5785da4bd0dae0d
Signed-off-by: Allon Mureinik <[email protected]>
---
M packaging/dbscripts/create_tables.sql
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/72/16172/1

diff --git a/packaging/dbscripts/create_tables.sql 
b/packaging/dbscripts/create_tables.sql
index 49f59c8..1c6654b 100644
--- a/packaging/dbscripts/create_tables.sql
+++ b/packaging/dbscripts/create_tables.sql
@@ -781,7 +781,7 @@
    storage_name VARCHAR(250) NOT NULL,
    storage_domain_type INTEGER NOT NULL,
    storage_type INTEGER NOT NULL,
-   storage_domain_format_type varchar(50) NOT NULL,
+   storage_domain_format_type varchar(50) NOT NULL default '0',
    _create_date TIMESTAMP WITH TIME ZONE default LOCALTIMESTAMP,
    _update_date TIMESTAMP WITH TIME ZONE default NULL,
    constraint pk_storage primary key(id)


-- 
To view, visit http://gerrit.ovirt.org/16172
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0cecc99eeaf09d4646925c58d5785da4bd0dae0d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to