-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from threefoldtech/development_grace_period
feat: support contract grace period state
- Loading branch information
Showing
20 changed files
with
462 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
module.exports = class graceperiod1653490002499 { | ||
name = 'graceperiod1653490002499' | ||
|
||
async up(db) { | ||
await db.query(`ALTER TABLE "node_contract" DROP COLUMN "state"`) | ||
await db.query(`ALTER TABLE "node_contract" ADD "state" character varying(11) NOT NULL`) | ||
await db.query(`ALTER TABLE "name_contract" DROP COLUMN "state"`) | ||
await db.query(`ALTER TABLE "name_contract" ADD "state" character varying(11) NOT NULL`) | ||
await db.query(`ALTER TABLE "rent_contract" DROP COLUMN "state"`) | ||
await db.query(`ALTER TABLE "rent_contract" ADD "state" character varying(11) NOT NULL`) | ||
} | ||
|
||
async down(db) { | ||
await db.query(`ALTER TABLE "node_contract" ADD "state" character varying(10) NOT NULL`) | ||
await db.query(`ALTER TABLE "node_contract" DROP COLUMN "state"`) | ||
await db.query(`ALTER TABLE "name_contract" ADD "state" character varying(10) NOT NULL`) | ||
await db.query(`ALTER TABLE "name_contract" DROP COLUMN "state"`) | ||
await db.query(`ALTER TABLE "rent_contract" ADD "state" character varying(10) NOT NULL`) | ||
await db.query(`ALTER TABLE "rent_contract" DROP COLUMN "state"`) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: tfchainindexer | ||
description: Helm Chart for the tfchain hydra indexer | ||
version: 2.1.0 | ||
version: 2.2.0 | ||
apiVersion: v2 | ||
appVersion: "2.1.5" | ||
appVersion: "2.2.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.