Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

Added DB schema for custom-metrics credentials management #373

Merged
merged 3 commits into from
Aug 13, 2018
Merged
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
35 changes: 35 additions & 0 deletions api/db/api.db.changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,39 @@ databaseChangeLog:
type: varchar(50)
value: "1"
tableName: policy_json
- changeSet:
id: 3
author: paltanmoy
changes:
- createTable:
tableName: credentials
columns:
- column:
name: id
type: varchar(50)
constraints:
primaryKey: true
nullable: false
- column:
name: username
type: varchar(100)
constraints:
nullable: false
- column:
name: password
type: varchar(100)
constraints:
nullable: false
- column:
name: updated_at
type: timestamp
constraints:
nullable: false
- createIndex:
columns:
- column:
name: id
type: varchar(255)
indexName: idx_credentials
tableName: credentials