2 次代码提交 ea8f75837a ... 0752f5a2fc

作者 SHA1 备注 提交日期
  Dmitriy Gnatenko 0752f5a2fc Update migrations 3 天之前
  Dmitriy Gnatenko ea8f75837a Update migrations 3 天之前
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      migrations/20220916102500_add_user.sql

+ 1 - 1
migrations/20220916102500_add_user.sql

@@ -1,6 +1,6 @@
 -- +goose Up
 -- admin/admin
-INSERT INTO user ('username', 'password') VALUES ('admin', '$2a$10$kSMPeUITJB9tZ2bs.Wm5gukp0Vv9qP3P.K.To.S2OrqAQv0mhzgtS');
+INSERT INTO user (username, password) VALUES ('admin', '$2a$10$kSMPeUITJB9tZ2bs.Wm5gukp0Vv9qP3P.K.To.S2OrqAQv0mhzgtS');
 
 -- +goose Down
 DELETE FROM user WHERE username='admin';