Skip to content

Commit

Permalink
fixed a SQL syntax error (apache#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaolongge904913 authored May 9, 2020
1 parent dec1923 commit d24e505
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/META-INF/sql/mysql-schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ CREATE TABLE IF NOT EXISTS tenants (
tenant varchar(255) NOT NULL,
admin_roles varchar(255),
allowed_clusters varchar(255),
environment_name varchar(255)
environment_name varchar(255),
UNIQUE(tenant)
)ENGINE=InnoDB CHARACTER SET utf8;

Expand All @@ -172,4 +172,4 @@ CREATE TABLE IF NOT EXISTS role_binding(
description varchar(256),
role_id BIGINT NOT NULL,
user_id BIGINT NOT NULL
)ENGINE=InnoDB CHARACTER SET utf8;
)ENGINE=InnoDB CHARACTER SET utf8;

0 comments on commit d24e505

Please sign in to comment.