mirror of
https://github.com/HangarMC/Hangar.git
synced 2025-03-07 15:31:00 +08:00
added created_at to UserDao#insert
This commit is contained in:
parent
28f0a3195c
commit
9184a124e4
@ -14,7 +14,7 @@ import me.minidigger.hangar.db.model.UsersTable;
|
||||
@RegisterBeanMapper(UsersTable.class)
|
||||
public interface UserDao {
|
||||
|
||||
@SqlUpdate("insert into users (id, full_name, name, email, tagline, join_date, read_prompts, is_locked, language) values (:id, :fullName, :name, :email, :tagline, :now, :readPrompts, :isLocked, :language)")
|
||||
@SqlUpdate("insert into users (id, created_at, full_name, name, email, tagline, join_date, read_prompts, is_locked, language) values (:id, :now, :fullName, :name, :email, :tagline, :now, :readPrompts, :isLocked, :language)")
|
||||
@Timestamped
|
||||
@GetGeneratedKeys
|
||||
UsersTable insert(@BindBean UsersTable user);
|
||||
|
Loading…
Reference in New Issue
Block a user