Skip to content

Commit

Permalink
remove db changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kpazgan committed Oct 7, 2024
1 parent 6a98b4a commit 0204f6a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 199 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,6 @@
"when": 1721046794234,
"tag": "0003_credentials_delete_cascade",
"breakpoints": true
},
{
"idx": 4,
"version": "7",
"when": 1721897356524,
"tag": "0004_create_files",
"breakpoints": true
}
]
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { integer, pgTable, text, uuid } from "drizzle-orm/pg-core";
import { pgTable, text, uuid } from "drizzle-orm/pg-core";
import { id, timestamps } from "./utils";

export const users = pgTable("users", {
Expand All @@ -15,12 +15,3 @@ export const credentials = pgTable("credentials", {
.notNull(),
password: text("password").notNull(),
});

export const files = pgTable("files", {
...id,
...timestamps,
filename: text("filename").notNull(),
url: text("url").notNull(),
mimetype: text("mimetype").notNull(),
size: integer("size").notNull(),
});

0 comments on commit 0204f6a

Please sign in to comment.