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

Commit

Permalink
Added DB schema for custom-metrics credentials management (#373)
Browse files Browse the repository at this point in the history
* Added DB schema for custom-metrics credentials management

* Deleted binding_id column

* Update api.db.changelog.yml
  • Loading branch information
paltanmoy authored and qibobo committed Aug 13, 2018
1 parent 17e5e03 commit 8e88999
Showing 1 changed file with 35 additions and 0 deletions.
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

0 comments on commit 8e88999

Please sign in to comment.