diff options
Diffstat (limited to 'src/guff.cr')
-rw-r--r-- | src/guff.cr | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/guff.cr b/src/guff.cr index 82ab5a9..00d6daa 100644 --- a/src/guff.cr +++ b/src/guff.cr @@ -387,19 +387,8 @@ module Guff ", add_user: " - INSERT INTO users( - role_id, - name, - email, - password, - is_active - ) VALUES ( - (SELECT role_id FROM roles where role = ?), - ?, - ?, - ?, - ? - ) + INSERT INTO users(role_id, name, email, password, is_active) VALUES + ((SELECT role_id FROM roles where role = ?), ?, ?, ?, ?) ", set_user: " |