SQL

CREATE TABLE source_secrets  (
  source_id VARCHAR(50) NOT NULL,
  tenant_id VARCHAR(50) NOT NULL,
  nonce BLOB NOT NULL,
  ciphertext BLOB NOT NULL,
  updated_at JSON NOT NULL,
  PRIMARY KEY (source_id)
)

+ Add column

Columns

Column Data type Allow null Primary key Actions
source_id VARCHAR(50) ✓ Rename | Drop
tenant_id VARCHAR(50) Rename | Drop
nonce BLOB Rename | Drop
ciphertext BLOB Rename | Drop
updated_at JSON Rename | Drop

+ Add index

Indexes

Name Columns Unique SQL Drop?
sqlite_autoindex_source_secrets_1 source_id ✓ SQL
-- no sql found --
Drop