revol-tech/mole — pull request #6 by maan81 (2012-11-11 04:53:49+00:00)
Title: added the db migration.

make sure u have a db "mole" with username "root" & password "password"

when going to
http://localhost/mole/update_db/
the db will be configured. a nu `migration` table & a `users` table should appear in mysql.

the sql that will be executed (automatically) :

CREATE TABLE `mole_users` (
`user_id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
`username` VARCHAR(127) NOT NULL,
`password` VARCHAR(127) NOT NULL,
PRIMARY KEY `user_id` (`user_id`)
) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;