Skip to content

Commit

Permalink
BIGTOP-4165: Correct MySQL DDL to make add host step progress (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
HalimKim authored Jul 22, 2024
1 parent ccf9373 commit 5a35e51
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Bigtop-Manager is a platform for managing Bigtop components. Inspired by Apache
## Prerequisites

JDK: Requires JDK 17 or 21
Metadata DB: Mariadb or Mysql
Metadata DB: Mariadb or Mysql(8 or above)

### API-DOCS
[swagger-ui](http://localhost:8080/swagger-ui/index.html)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@ CREATE TABLE `host`
`hostname` VARCHAR(255) DEFAULT NULL,
`ipv4` VARCHAR(32) DEFAULT NULL,
`ipv6` VARCHAR(32) DEFAULT NULL,
`os_arch` VARCHAR(32) NOT NULL,
`os_name` VARCHAR(32) NOT NULL,
`processor_count` INT NOT NULL,
`physical_memory` BIGINT NOT NULL COMMENT 'Total Physical Memory(Bytes)',
`state` VARCHAR(32) NOT NULL,
`arch` VARCHAR(32) DEFAULT NULL,
`os` VARCHAR(32) DEFAULT NULL,
`processor_count` INT DEFAULT NULL,
`physical_memory` BIGINT DEFAULT NULL COMMENT 'Total Physical Memory(Bytes)',
`state` VARCHAR(32) DEFAULT NULL,
`create_time` DATETIME DEFAULT NULL,
`update_time` DATETIME DEFAULT NULL,
PRIMARY KEY (`id`),
Expand All @@ -98,9 +98,9 @@ CREATE TABLE `repo` (
`cluster_id` BIGINT(20) UNSIGNED NOT NULL,
`os` VARCHAR(32) DEFAULT NULL,
`arch` VARCHAR(32) DEFAULT NULL,
`base_url` VARCHAR(32) DEFAULT NULL,
`base_url` VARCHAR(64) DEFAULT NULL,
`repo_id` VARCHAR(32) DEFAULT NULL,
`repo_name` VARCHAR(32) DEFAULT NULL,
`repo_name` VARCHAR(64) DEFAULT NULL,
`create_time` DATETIME DEFAULT NULL,
`update_time` DATETIME DEFAULT NULL,
PRIMARY KEY (`id`),
Expand All @@ -123,7 +123,7 @@ CREATE TABLE `job`
`id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`cluster_id` BIGINT(20) UNSIGNED DEFAULT NULL,
`state` VARCHAR(32) NOT NULL,
`context` VARCHAR(32) NOT NULL,
`context` TEXT NOT NULL,
`create_time` DATETIME DEFAULT NULL,
`update_time` DATETIME DEFAULT NULL,
PRIMARY KEY (`id`),
Expand Down

0 comments on commit 5a35e51

Please sign in to comment.