diff --git a/database/migrate.php b/database/migrate.php index 8b1ae36..72638a7 100644 --- a/database/migrate.php +++ b/database/migrate.php @@ -4,7 +4,8 @@ set_error_handler(function($errno, $errstr) { echo $errstr."\n"; die("Did you set /etc/awfy-server.config ?\n"); }); -include "../website/internals.php"; + +include "../website/lib/internals.php"; restore_error_handler(); mysql_connect($config->mysql_host, $config->mysql_username, $config->mysql_password) or die("ERROR: " . mysql_error()); diff --git a/database/migration-20.php b/database/migration-20.php new file mode 100644 index 0000000..81029bf --- /dev/null +++ b/database/migration-20.php @@ -0,0 +1,7 @@ +