-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into pool-abi
- Loading branch information
Showing
48 changed files
with
37,706 additions
and
305 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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
BEGIN; | ||
ALTER TABLE tokenpool ADD COLUMN state VARCHAR(64); | ||
UPDATE tokenpool SET state='unknown'; | ||
UPDATE tokenpool SET state='confirmed'; | ||
ALTER TABLE tokenpool ALTER COLUMN state SET NOT NULL; | ||
COMMIT; |
3 changes: 3 additions & 0 deletions
3
db/migrations/postgres/000103_create_ffi_errors_table.down.sql
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,3 @@ | ||
BEGIN; | ||
DROP TABLE IF EXISTS ffierrors; | ||
COMMIT; |
14 changes: 14 additions & 0 deletions
14
db/migrations/postgres/000103_create_ffi_errors_table.up.sql
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,14 @@ | ||
BEGIN; | ||
CREATE TABLE ffierrors ( | ||
seq SERIAL PRIMARY KEY, | ||
id UUID NOT NULL, | ||
interface_id UUID NULL, | ||
namespace VARCHAR(64) NOT NULL, | ||
name VARCHAR(1024) NOT NULL, | ||
pathname VARCHAR(1024) NOT NULL, | ||
description TEXT NOT NULL, | ||
params TEXT NOT NULL | ||
); | ||
|
||
CREATE UNIQUE INDEX ffierrors_pathname ON ffierrors(interface_id,pathname); | ||
COMMIT; |
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,2 +1,2 @@ | ||
ALTER TABLE tokenpool ADD COLUMN state VARCHAR(64); | ||
UPDATE tokenpool SET state="unknown"; | ||
UPDATE tokenpool SET state="confirmed"; |
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 @@ | ||
DROP TABLE IF EXISTS ffierrors; |
12 changes: 12 additions & 0 deletions
12
db/migrations/sqlite/000103_create_ffi_errors_table.up.sql
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,12 @@ | ||
CREATE TABLE ffierrors ( | ||
seq INTEGER PRIMARY KEY AUTOINCREMENT, | ||
id UUID NOT NULL, | ||
interface_id UUID NULL, | ||
namespace VARCHAR(64) NOT NULL, | ||
name VARCHAR(1024) NOT NULL, | ||
pathname VARCHAR(1024) NOT NULL, | ||
description TEXT NOT NULL, | ||
params TEXT NOT NULL | ||
); | ||
|
||
CREATE UNIQUE INDEX ffierrors_pathname ON ffierrors(interface_id,pathname); |
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.