Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BIGTOP-4165: Correct MySQL DDL to make add host step progress #22

Merged
merged 1 commit into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading