stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sajhak <...@git.apache.org>
Subject [GitHub] stratos pull request: Add database/
Date Tue, 04 Aug 2015 10:44:37 GMT
Github user sajhak commented on a diff in the pull request:

    https://github.com/apache/stratos/pull/378#discussion_r36175848
  
    --- Diff: components/org.apache.stratos.manager/src/main/database/SM.sql ---
    @@ -0,0 +1,79 @@
    +SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
    +SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
    +SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL,ALLOW_INVALID_DATES';
    +
    +CREATE SCHEMA IF NOT EXISTS `StratosManager` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci
;
    +USE `StratosManager` ;
    +
    +-- -----------------------------------------------------
    +-- Table `StratosManager`.`Cluster`
    +-- -----------------------------------------------------
    +CREATE TABLE IF NOT EXISTS `StratosManager`.`Cluster` (
    +  `clusterId` VARCHAR(255) NULL,
    --- End diff --
    
    @JaneAarthy , why this clusterId, which is also declared as the Primary key,  is defined
as a 'NULL' ?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message