Skip to content

Commit

Permalink
Correct syntax for insert statement
Browse files Browse the repository at this point in the history
ID is a numeric ID, so needs default value of 0 in order to trigger the
autoincrement.
  • Loading branch information
Michael Bergbauer committed May 4, 2020
1 parent fe417d7 commit 36090f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

insert into users (id, username, password, level) values ('', 'sys_build', '638c0b71a1677183e7840ae6b5b646a2', 0 ) on duplicate key update username='sys_build';
insert into users (id, username, password, level) values (0, 'sys_build', '638c0b71a1677183e7840ae6b5b646a2', 0 ) on duplicate key update username='sys_build';

insert into sys_config (name, value, description, field_validation_rule, failed_rule_text, editable, deleteable) values ('build_dns_type', 'bind', 'DNS build type', '', '', 1, 1) on duplicate key update value='bind';

0 comments on commit 36090f2

Please sign in to comment.