Remove drizzle directory from repo.

This commit is contained in:
themodrnhakr 2025-09-26 17:29:55 -05:00
parent 450bcf173f
commit 22c782c3ec
4 changed files with 1 additions and 147 deletions

1
.gitignore vendored
View File

@ -12,6 +12,7 @@ node_modules
*.log
# Databases
/drizzle
*.db
# OS

View File

@ -1,15 +0,0 @@
CREATE TABLE `records` (
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
`record_id` text NOT NULL,
`type_id` integer NOT NULL,
FOREIGN KEY (`type_id`) REFERENCES `record_types`(`id`) ON UPDATE no action ON DELETE no action
);
--> statement-breakpoint
CREATE UNIQUE INDEX `records_record_id_unique` ON `records` (`record_id`);--> statement-breakpoint
CREATE INDEX `chores_index` ON `records` (`record_id`) WHERE type_id = 1;--> statement-breakpoint
CREATE INDEX `project_index` ON `records` (`record_id`) WHERE type_id = 2;--> statement-breakpoint
CREATE INDEX `ticket_index` ON `records` (`record_id`) WHERE type_id = 3;--> statement-breakpoint
CREATE TABLE `record_types` (
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
`type` text
);

View File

@ -1,119 +0,0 @@
{
"version": "6",
"dialect": "sqlite",
"id": "feb276b9-6e2b-4204-885b-167701a4a707",
"prevId": "00000000-0000-0000-0000-000000000000",
"tables": {
"records": {
"name": "records",
"columns": {
"id": {
"name": "id",
"type": "integer",
"primaryKey": true,
"notNull": true,
"autoincrement": true
},
"record_id": {
"name": "record_id",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"type_id": {
"name": "type_id",
"type": "integer",
"primaryKey": false,
"notNull": true,
"autoincrement": false
}
},
"indexes": {
"records_record_id_unique": {
"name": "records_record_id_unique",
"columns": [
"record_id"
],
"isUnique": true
},
"chores_index": {
"name": "chores_index",
"columns": [
"record_id"
],
"isUnique": false,
"where": "type_id = 1"
},
"project_index": {
"name": "project_index",
"columns": [
"record_id"
],
"isUnique": false,
"where": "type_id = 2"
},
"ticket_index": {
"name": "ticket_index",
"columns": [
"record_id"
],
"isUnique": false,
"where": "type_id = 3"
}
},
"foreignKeys": {
"records_type_id_record_types_id_fk": {
"name": "records_type_id_record_types_id_fk",
"tableFrom": "records",
"tableTo": "record_types",
"columnsFrom": [
"type_id"
],
"columnsTo": [
"id"
],
"onDelete": "no action",
"onUpdate": "no action"
}
},
"compositePrimaryKeys": {},
"uniqueConstraints": {},
"checkConstraints": {}
},
"record_types": {
"name": "record_types",
"columns": {
"id": {
"name": "id",
"type": "integer",
"primaryKey": true,
"notNull": true,
"autoincrement": true
},
"type": {
"name": "type",
"type": "text",
"primaryKey": false,
"notNull": false,
"autoincrement": false
}
},
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {},
"checkConstraints": {}
}
},
"views": {},
"enums": {},
"_meta": {
"schemas": {},
"tables": {},
"columns": {}
},
"internal": {
"indexes": {}
}
}

View File

@ -1,13 +0,0 @@
{
"version": "7",
"dialect": "sqlite",
"entries": [
{
"idx": 0,
"version": "6",
"when": 1758833816361,
"tag": "0000_wandering_riptide",
"breakpoints": true
}
]
}