Advertisement
tadeuespindola

gustavo-gomes-de-oliveira-sql

Nov 19th, 2022
1,657
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. INSERT INTO public.usuario(
  2.     id, login, nome, senha)
  3.     VALUES (1, 'admin', 'Admin', '$2a$10$.qgDypdysHLRS9huX8NchunlbdXVj1ybBQcAScZ9/yhoH3X0efXVK');
  4.    
  5. INSERT INTO public.role(
  6.     id, nome_role)
  7.     VALUES (1, 'ROLE_ADMIN');
  8.    
  9. INSERT INTO public.usuarios_role(
  10.     usuario_id, role_id)
  11.     VALUES (1, 1);
Tags: sql Postgres
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement