diff --git a/sql/Aauth_v2.sql b/sql/Aauth_v2.sql index a597e07..df13f75 100644 --- a/sql/Aauth_v2.sql +++ b/sql/Aauth_v2.sql @@ -22,8 +22,7 @@ DROP TABLE IF EXISTS `aauth_groups`; CREATE TABLE `aauth_groups` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` text, - PRIMARY KEY (`id`), - KEY `id_index` (`id`) + PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; -- ---------------------------- @@ -41,8 +40,7 @@ CREATE TABLE `aauth_perms` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` text, `definition` text, - PRIMARY KEY (`id`), - KEY `id_index` (`id`) + PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- @@ -135,8 +133,7 @@ CREATE TABLE `aauth_users` ( `verification_code` text COLLATE utf8_general_ci, `ip_address` text COLLATE utf8_general_ci, `login_attempts` int(11) DEFAULT '0', - PRIMARY KEY (`id`), - KEY `id_index` (`id`) + PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci; -- ---------------------------- diff --git a/sql/readme.txt b/sql/readme.txt index ae9f6ea..8a0bff0 100644 --- a/sql/readme.txt +++ b/sql/readme.txt @@ -1,8 +1,8 @@ Aauth V2 Database ----------------- -- First you must create a database. -- Execute sql "Aauth.sql" file in your database -- Don't forget to change database connection setups from application/config/database.php +- First open your database (or create one if you have not already done so) +- Execute sql "Aauth_v2.sql" file in your database +- If you have not already, don't forget to change database connection settings in application/config/database.php That's All :)