From 7de6dea6076e10884b9332c28eb0812ad7127885 Mon Sep 17 00:00:00 2001
From: Spp <none@none>
Date: Wed, 5 May 2010 02:06:08 +0200
Subject: Account access: Set default value -1 to realmId (All realms access)
 Patch by Sundark closes issue 1852

--HG--
branch : trunk
---
 sql/realmd.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'sql/realmd.sql')

diff --git a/sql/realmd.sql b/sql/realmd.sql
index dd28dccbd4f..50940b45705 100644
--- a/sql/realmd.sql
+++ b/sql/realmd.sql
@@ -25,7 +25,7 @@ DROP TABLE IF EXISTS `account_access`;
 CREATE TABLE `account_access` (
   `id` int(11) unsigned NOT NULL,
   `gmlevel` tinyint(3) unsigned NOT NULL,
-  `RealmID` int(11) NOT NULL,
+  `RealmID` int(11) NOT NULL default '-1',
   PRIMARY KEY  (`id`,`RealmID`)
 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
 /*!40101 SET character_set_client = @saved_cs_client */;
-- 
cgit v1.2.3

