Skip to content

Commit

Permalink
Change keypair_permissions table name to api_keypair_permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoschmdt committed Feb 13, 2025
1 parent 80ddb77 commit ff396b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import javax.persistence.Table;

@Entity
@Table(name = "keypair_permissions")
@Table(name = "api_keypair_permissions")
public class ApiKeyPairPermissionVO extends RolePermissionBaseVO implements ApiKeyPairPermission {
@Column(name = "api_keypair_id")
private long apiKeyPairId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ CREATE TABLE IF NOT EXISTS `cloud`.`api_keypair` (
CONSTRAINT `fk_api_keypair__domain_id` FOREIGN KEY(`domain_id`) REFERENCES `cloud`.`domain`(`id`)
);

CREATE TABLE IF NOT EXISTS `cloud`.`keypair_permissions` (
CREATE TABLE IF NOT EXISTS `cloud`.`api_keypair_permissions` (
`id` bigint(20) unsigned NOT NULL auto_increment,
`uuid` varchar(40) UNIQUE,
`sort_order` bigint(20) unsigned NOT NULL DEFAULT 0,
Expand Down

0 comments on commit ff396b1

Please sign in to comment.