Skip to content

Commit

Permalink
feat: add inital sqlite migration
Browse files Browse the repository at this point in the history
  • Loading branch information
husni-zuhdi committed Sep 2, 2024
1 parent bc4e16d commit 3c34a7b
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions internal/migrations/20240901103916_initial_migration.sql
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
-- Add migration script here
CREATE TABLE IF NOT EXISTS blogs (
id INTEGER PRIMARY KEY NOT NULL,
id TEXT PRIMARY KEY NOT NULL,
name TEXT NOT NULL,
source TEXT NOT NULL,
filename TEXT NOT NULL,
body TEXT NOT NULL
);

CREATE TABLE IF NOT EXISTS github_trees (
id INTEGER PRIMARY KEY NOT NULL,
tree_path TEXT NOT NULL,
tree_mode TEXT NOT NULL,
tree_type TEXT NOT NULL,
sha TEXT NOT NULL,
url TEXT NOT NULL
);

0 comments on commit 3c34a7b

Please sign in to comment.