Skip to content

Commit 7c1abf9

Browse files
committed
fix: update test fixture files table to use mime_type (no content_hash)
The test fixture's files table was using the old column names (content_type, content_hash) which don't match the actual generated schema from storage_module.sql (mime_type, no content_hash on files).
1 parent 7e9f539 commit 7c1abf9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • graphql/server-test/__fixtures__/seed/simple-seed-storage

graphql/server-test/__fixtures__/seed/simple-seed-storage/schema.sql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ CREATE TABLE IF NOT EXISTS "simple-storage-public".files (
4040
id uuid PRIMARY KEY DEFAULT uuid_generate_v4(),
4141
bucket_id uuid NOT NULL REFERENCES "simple-storage-public".buckets(id),
4242
key text NOT NULL,
43-
content_type text NOT NULL,
44-
content_hash text,
43+
mime_type text NOT NULL,
4544
size bigint,
4645
filename text,
4746
owner_id uuid,

0 commit comments

Comments
 (0)