Answers for "schema.sql for h2 and jdbc"

0

schema.sql for h2 and jdbc

create table users(
      username varchar_ignorecase(50) not null primary key,
      password varchar_ignorecase(50) not null,
      enabled boolean not null);

  create table authorities (
      username varchar_ignorecase(50) not null,
      authority varchar_ignorecase(50) not null,
      constraint fk_authorities_users foreign key(username) references users(username));
      create unique index ix_auth_username on authorities (username,authority);
Posted by: Guest on March-07-2022

Browse Popular Code Answers by Language