Rosanne DiMesio : Add missing default value to appData create table statement

Jeremy Newman jnewman at winehq.org
Thu May 11 13:34:05 CDT 2017


Module: appdb
Branch: master
Commit: fe944f473ae2cd71a15edced7ef2f93380d92f53
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=fe944f473ae2cd71a15edced7ef2f93380d92f53

Author: Rosanne DiMesio <dimesio at earthlink.net>
Date:   Thu May 11 13:28:21 2017 -0500

Add missing default value to appData create table statement

The default value already exists in the production database but was not added to appdb_tables.sql.

Signed-off-by: Rosanne DiMesio <dimesio at earthlink.net>
Signed-off-by: Jeremy Newman <jnewman at codeweavers.com>

---

 tables/appdb_tables.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tables/appdb_tables.sql b/tables/appdb_tables.sql
index 6fc9caa..beb1743 100644
--- a/tables/appdb_tables.sql
+++ b/tables/appdb_tables.sql
@@ -135,7 +135,7 @@ create table appComments (
  */
 create table appData (
 	id              int not null auto_increment,
-	appId           int not null,
+	appId           int not null default 0,
 	versionId       int default 0,
 	type            enum('screenshot', 'url', 'bug','downloadurl'),
 	description     text,




More information about the wine-cvs mailing list