Skip to content

Commit

Permalink
make the raw_json in schema_type a migration. (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackson Newhouse authored May 2, 2023
1 parent 2c8fd20 commit bda8ed9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arroyo-api/migrations/V1__initial.sql
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ CREATE TABLE connections (
UNIQUE (organization_id, name)
);

create TYPE schema_type as ENUM ('builtin', 'json_schema', 'json_fields', 'raw_json');
create TYPE schema_type as ENUM ('builtin', 'json_schema', 'json_fields');

CREATE TABLE schemas (
id BIGSERIAL PRIMARY KEY,
Expand Down
1 change: 1 addition & 0 deletions arroyo-api/migrations/V2__add_raw_json.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TYPE schema_type ADD VALUE 'raw_json';

0 comments on commit bda8ed9

Please sign in to comment.