diff --git a/app/Config/Schema/db_blacklist.php b/app/Config/Schema/db_blacklist.php new file mode 100755 index 000000000..7bcc9e6df --- /dev/null +++ b/app/Config/Schema/db_blacklist.php @@ -0,0 +1,19 @@ + array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'), + 'name' => array('type' => 'text', 'null' => false, 'default' => null, 'key' => 'index', 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'), + 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)), + 'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_bin', 'engine' => 'MyISAM') + ); +} diff --git a/app/Console/shell/migrate-0.2.2-0.2.3.sh b/app/Console/shell/migrate-0.2.2-0.2.3.sh index 74a0e364a..28cf5d93b 100755 --- a/app/Console/shell/migrate-0.2.2-0.2.3.sh +++ b/app/Console/shell/migrate-0.2.2-0.2.3.sh @@ -23,6 +23,9 @@ cd ${PRJCT} # create Whitelist table ./Console/cake schema create DbWhitelist +# create Blacklist table +./Console/cake schema create DbBlacklist + # update Schema, add Users.role_id ./Console/cake schema update -s 0.2.2.1