zoukankan      html  css  js  c++  java
  • Spring security在MS-SQL下的初始化脚本

     -- create table users(  
     --     username nvarchar(50) not null primary key,  
     --     password nvarchar(50) not null,  
     --     enabled bit not null);  
     --create table authorities (  
    --      username nvarchar(50) not null,  
    --      authority nvarchar(50) not null,  
    --      constraint fk_authorities_users foreign key(username) references users(username));  
    --      create unique index ix_auth_username on authorities (username,authority);  
    create table groups (  
      [id] [bigint] IDENTITY (0, 1) NOT NULL primary key,   
      group_name nvarchar(50) not null);  
    create table group_authorities (  
      group_id bigint not null,   
      authority nvarchar(50) not null,   
      constraint fk_group_authorities_group foreign key(group_id) references groups(id));  
    create table group_members (  
       [id] [bigint] IDENTITY (0, 1) NOT NULL primary key,   
      username nvarchar(50) not null,   
      group_id bigint not null,   
      constraint fk_group_members_group foreign key(group_id) references groups(id)); 
    

      

  • 相关阅读:
    合并区间
    编译与运行
    传递信息
    划分字母区间
    无重叠区间
    用最少数量的箭引爆气球
    根据身高重建队列
    二叉树展开为链表
    动态添加按钮
    基础知识
  • 原文地址:https://www.cnblogs.com/dhcn/p/7100137.html
Copyright © 2011-2022 走看看