diff --git a/drizzle/0000_charming_warstar.sql b/drizzle/0000_charming_warstar.sql new file mode 100644 index 0000000..988a4a0 --- /dev/null +++ b/drizzle/0000_charming_warstar.sql @@ -0,0 +1,7 @@ +CREATE TABLE IF NOT EXISTS "bookmarks" ( + "id" serial PRIMARY KEY NOT NULL, + "name" text, + "link" text, + "description" text, + "url" text +); diff --git a/drizzle/meta/0000_snapshot.json b/drizzle/meta/0000_snapshot.json new file mode 100644 index 0000000..c77cebc --- /dev/null +++ b/drizzle/meta/0000_snapshot.json @@ -0,0 +1,55 @@ +{ + "version": "5", + "dialect": "pg", + "id": "e3dded07-6461-44e7-9c2e-e9e750dfcbd7", + "prevId": "00000000-0000-0000-0000-000000000000", + "tables": { + "bookmarks": { + "name": "bookmarks", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "link": { + "name": "link", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "url": { + "name": "url", + "type": "text", + "primaryKey": false, + "notNull": false + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {} + } + }, + "enums": {}, + "schemas": {}, + "_meta": { + "schemas": {}, + "tables": {}, + "columns": {} + } +} \ No newline at end of file diff --git a/drizzle/meta/_journal.json b/drizzle/meta/_journal.json index 5dcbf6a..b99cb0b 100644 --- a/drizzle/meta/_journal.json +++ b/drizzle/meta/_journal.json @@ -1 +1,13 @@ -{"version":"5","dialect":"pg","entries":[]} \ No newline at end of file +{ + "version": "5", + "dialect": "pg", + "entries": [ + { + "idx": 0, + "version": "5", + "when": 1691820164272, + "tag": "0000_charming_warstar", + "breakpoints": true + } + ] +} \ No newline at end of file