Skip to content

Commit 8084baa

Browse files
chore: wip
1 parent d6d5ae6 commit 8084baa

File tree

49 files changed

+231
-37
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+231
-37
lines changed

app/Models/.qb-migrations.postgres.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,5 +394,5 @@
394394
]
395395
},
396396
"hash": "b0b509d250f98e39bb933bb8a0db6310b608a8466dea8e3cd1c489ee083087fb",
397-
"updatedAt": "2025-10-28T14:38:24.714Z"
397+
"updatedAt": "2025-10-28T15:10:29.202Z"
398398
}

bun.lock

Lines changed: 41 additions & 35 deletions
Large diffs are not rendered by default.

config/query-builder.ts renamed to config/qb.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@ import type { QueryBuilderConfig, SupportedDialect } from 'bun-query-builder'
33
// Use direct environment variable access to avoid circular dependencies
44
const envVars = typeof Bun !== 'undefined' ? Bun.env : process.env
55

6+
7+
8+
69
export default {
710
verbose: true,
8-
dialect: envVars.DB_CONNECTION as SupportedDialect|| 'postgres',
11+
dialect: envVars.DB_CONNECTION as SupportedDialect || 'postgres',
912
database: {
1013
database: envVars.DB_DATABASE || 'stacks',
1114
username: envVars.DB_USERNAME || '',
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
CREATE TABLE "projects" (
2+
"name" varchar(255),
3+
"description" varchar(255),
4+
"url" varchar(255),
5+
"status" varchar(255)
6+
);
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CREATE TABLE "subscriber_emails" (
2+
"email" varchar(255)
3+
);
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
CREATE TABLE "teams" (
2+
"name" varchar(255),
3+
"companyName" varchar(255),
4+
"email" varchar(255),
5+
"billingEmail" varchar(255),
6+
"status" varchar(255),
7+
"description" varchar(255),
8+
"path" varchar(255),
9+
"isPersonal" boolean
10+
);
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CREATE TABLE "subscribers" (
2+
"subscribed" boolean
3+
);
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
CREATE TABLE "deployments" (
2+
"commitSha" varchar(255),
3+
"commitMessage" varchar(255),
4+
"branch" varchar(255),
5+
"status" varchar(255),
6+
"executionTime" real,
7+
"deployScript" varchar(255),
8+
"terminalOutput" varchar(255)
9+
);
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CREATE TABLE "releases" (
2+
"name" varchar(255),
3+
"version" varchar(255)
4+
);
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
CREATE TABLE "users" (
2+
"name" varchar(255),
3+
"email" varchar(255),
4+
"password" varchar(255)
5+
);

0 commit comments

Comments
 (0)