summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-12-16 20:57:15 -0500
committerFrederic Guillot <fred@kanboard.net>2015-12-16 20:57:15 -0500
commit9758a61e0a96dadde91077e2a76f0a93a4767a13 (patch)
tree16619c6e78483d506cdf8a5e1c13b4517787b7a2 /Makefile
parent4b35b318a230238a60f4aadf8b79f6010071c8a7 (diff)
Update SQL files
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` ;\