diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-12-16 20:57:15 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-12-16 20:57:15 -0500 |
commit | 9758a61e0a96dadde91077e2a76f0a93a4767a13 (patch) | |
tree | 16619c6e78483d506cdf8a5e1c13b4517787b7a2 /Makefile | |
parent | 4b35b318a230238a60f4aadf8b79f6010071c8a7 (diff) |
Update SQL files
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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` ;\ |