summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBusfreak <martin@middeke.de>2015-12-18 16:45:51 +0100
committerBusfreak <martin@middeke.de>2015-12-18 16:45:51 +0100
commit7e014e4fe9fb95803054fde958f7b77e32506932 (patch)
tree5f7910df26fce7c454c25197b2e45cac3008103c /Makefile
parenta4a1cd9f0cfe6679540dad538703648be19f48b1 (diff)
parent9758a61e0a96dadde91077e2a76f0a93a4767a13 (diff)
Merge remote-tracking branch 'refs/remotes/fguillot/master'
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 54e65f2e..f7b25a45 100644
--- a/Makefile
+++ b/Makefile
@@ -122,7 +122,7 @@ sql:
@ mysqldump -uroot --quote-names --no-create-info --skip-comments --no-set-names kanboard settings >> app/Schema/Sql/mysql.sql
@ mysqldump -uroot --quote-names --no-create-info --skip-comments --no-set-names kanboard links >> app/Schema/Sql/mysql.sql
- @ php -r "echo 'INSERT INTO users (username, password, is_admin) VALUES (\'admin\', \''.password_hash('admin', PASSWORD_DEFAULT).'\', \'1\');';" | \
+ @ php -r "echo 'INSERT INTO users (username, password, role) VALUES (\'admin\', \''.password_hash('admin', PASSWORD_DEFAULT).'\', \'app-admin\');';" | \
tee -a app/Schema/Sql/postgres.sql app/Schema/Sql/mysql.sql >/dev/null
@ let mysql_version=`echo 'select version from schema_version;' | mysql -N -uroot kanboard` ;\