Implementation part 2 of #3

This commit is contained in:
Rohan Sircar 2020-06-02 21:35:40 +05:30
parent 1789b29ee0
commit 7a7748cfa6

View File

@ -52,10 +52,10 @@ public class V3__add_default_admin extends BaseJavaMigration {
ps.execute();
}
// try (final PreparedStatement ps = context.getConnection()
// .prepareStatement("insert into users_roles (user_id, role_id) values (1,0)")) {
// ps.execute();
// }
try (final PreparedStatement ps = context.getConnection()
.prepareStatement("insert into users_roles (user_id, role_id) values (1,0)")) {
ps.execute();
}
}
}