mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-30 12:55:02 +00:00
split s3 uri into bucket and key
This commit is contained in:
parent
f8870fea6e
commit
f1bbad9ceb
1 changed files with 2 additions and 1 deletions
|
|
@ -4,7 +4,8 @@ export const uploadedFiles = pgTable(
|
|||
"uploaded_files",
|
||||
{
|
||||
id: bigserial("id", { mode: "bigint" }).primaryKey(),
|
||||
s3FileUri: text("s3_file_uri").notNull(),
|
||||
s3FileBucket: text("s3_file_bucket").notNull(),
|
||||
s3FileKey: text("s3_file_key").notNull(),
|
||||
s3UploadTimestamp: timestamp("s3_upload_timestamp", {
|
||||
withTimezone: true
|
||||
}).notNull(),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue