Skip to content
Permalink
Browse files
Khepri governs rhythm.
  • Loading branch information
mifosio-04-04-2018 committed Apr 5, 2017
1 parent 14f80c4 commit f0bbefa9255dabdbacf37917b4f000bc63ad1b80
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
@@ -22,7 +22,7 @@
*/
@SuppressWarnings({"unused", "WeakerAccess"})
@Entity
@Table(name = "rhythm_applications")
@Table(name = "khepri_applications")
public class ApplicationEntity {

@Id
@@ -23,7 +23,7 @@
*/
@SuppressWarnings({"unused", "WeakerAccess"})
@Entity
@Table(name = "rhythm_beats")
@Table(name = "khepri_beats")
public class BeatEntity {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@@ -1,3 +1,4 @@
-- noinspection SqlNoDataSourceInspectionForFile
--
-- Copyright 2017 The Mifos Initiative.
--
@@ -16,18 +17,18 @@

# noinspection SqlNoDataSourceInspectionForFile

CREATE TABLE rhythm_applications (
CREATE TABLE khepri_applications (
id BIGINT NOT NULL AUTO_INCREMENT,
application_name VARCHAR(64) NOT NULL,
CONSTRAINT rhythm_applications_uq UNIQUE (application_name),
CONSTRAINT rhythm_applications_pk PRIMARY KEY (id)
CONSTRAINT khepri_applications_uq UNIQUE (application_name),
CONSTRAINT khepri_applications_pk PRIMARY KEY (id)
);

CREATE TABLE rhythm_beats (
CREATE TABLE khepri_beats (
id BIGINT NOT NULL AUTO_INCREMENT,
identifier VARCHAR(32) NOT NULL,
application_name VARCHAR(32) NOT NULL,
alignment_hour INT NOT NULL,
CONSTRAINT rhythm_beats_uq UNIQUE (identifier, application_name),
CONSTRAINT rhythm_beats_pk PRIMARY KEY (id)
CONSTRAINT khepri_beats_uq UNIQUE (identifier, application_name),
CONSTRAINT khepri_beats_pk PRIMARY KEY (id)
);

0 comments on commit f0bbefa

Please sign in to comment.