Logo
Explore Help
Sign In
CubeCraft-Creations/Extrudex
9
0
Fork 0
You've already forked Extrudex
Code Issues Pull Requests 7 Actions Packages Projects Releases Wiki Activity
Files
a5a9f42d065bfcffbd556dd364b82b276ffbd354
Extrudex/backend/go.mod

8 lines
109 B
Modula-2
Raw Normal View History

CUB-111: design PostgreSQL schema for Extrudex Go backend - Add migration 000001: initial schema with all lookup tables, core entities, and app settings table - Add migration 000002: seed data for printer types, job statuses, material bases, finishes, modifiers, and default settings - Add Go model structs in internal/models with json tags and pointer types for nullable fields - Add go.mod with pgx dependency Key decisions: - FK ON DELETE: RESTRICT on material_base/finish/printer, SET NULL on optional parents (modifier, spool on print_jobs), CASCADE for usage_logs - Soft-delete (deleted_at) on spools and print_jobs - Lookup tables for printer_type and job_status (no raw enums) - Partial indexes for active spools, barcode scans, low-stock queries - Settings table with JSONB values for flexible app config - All identifiers snake_case
2026-05-06 11:51:00 -04:00
module github.com/CubeCraft-Creations/Extrudex/backend
go 1.24
require (
github.com/jackc/pgx/v5 v5.7.4
)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 64ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API