Skip to content

Commit 4138d46

Browse files
authored
Merge pull request #413 from constructive-io/updates/cleanup-and-upgrades
Updates/cleanup and upgrades
2 parents 52828c3 + b82124b commit 4138d46

92 files changed

Lines changed: 2680 additions & 17766 deletions

File tree

Some content is hidden

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

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -82,21 +82,21 @@ pnpm test:watch
8282
```
8383

8484

85-
## What is LaunchQL?
85+
## What is Constructive?
8686

87-
LaunchQL transforms how you build PostgreSQL applications by treating your database as a modular, version-controlled system. At its core is **pgpm** (PostgreSQL Package Manager), which brings npm-style package management to Postgres. Write SQL migrations, organize them into reusable modules, install database packages as dependencies, and deploy with deterministic, plan-driven migrations.
87+
Constructive transforms how you build PostgreSQL applications by treating your database as a modular, version-controlled system. At its core is **pgpm** (PostgreSQL Package Manager), which brings npm-style package management to Postgres. Write SQL migrations, organize them into reusable modules, install database packages as dependencies, and deploy with deterministic, plan-driven migrations.
8888

89-
The framework automatically generates a secure, role-aware GraphQL API from your PostgreSQL schema using PostGraphile. This means you design your database once, and LaunchQL handles the API layer, authentication middleware, and developer tooling.
89+
The framework automatically generates a secure, role-aware GraphQL API from your PostgreSQL schema using PostGraphile. This means you design your database once, and Constructive handles the API layer, authentication middleware, and developer tooling.
9090

9191
### Core Philosophy
9292

93-
LaunchQL embraces a database-first development approach where your PostgreSQL schema is the source of truth. Row-Level Security (RLS) policies become your authorization layer, database functions become your business logic, and the GraphQL API is automatically derived from your carefully designed schema. This eliminates the impedance mismatch between your database and API while giving you the full power of SQL.
93+
Constructive embraces a database-first development approach where your PostgreSQL schema is the source of truth. Row-Level Security (RLS) policies become your authorization layer, database functions become your business logic, and the GraphQL API is automatically derived from your carefully designed schema. This eliminates the impedance mismatch between your database and API while giving you the full power of SQL.
9494

9595
## Key Components
9696

9797
### 📦 pgpm - PostgreSQL Package Manager
9898

99-
The heart of LaunchQL's modular approach. pgpm manages database schemas as versioned packages with dependency resolution, migration tracking, and reproducible deployments.
99+
The heart of Constructive's modular approach. pgpm manages database schemas as versioned packages with dependency resolution, migration tracking, and reproducible deployments.
100100

101101
**Features:**
102102
- Reusable database modules with dependency management
@@ -109,7 +109,7 @@ The heart of LaunchQL's modular approach. pgpm manages database schemas as versi
109109

110110
### 🖥️ LaunchQL CLI
111111

112-
Full-featured command-line toolkit for managing LaunchQL projects. Provides the complete development workflow from scaffolding to deployment.
112+
Full-featured command-line toolkit for managing Constructive projects. Provides the complete development workflow from scaffolding to deployment.
113113

114114
**Features:**
115115
- Database-first development with automatic GraphQL generation
@@ -261,19 +261,19 @@ test('user authentication', async () => {
261261
});
262262
```
263263

264-
## Why LaunchQL?
264+
## Why Constructive?
265265

266266
**Modular by Design** - Organize your database into reusable packages with clear dependencies. Share common schemas across projects, version them independently, and compose complex systems from simple building blocks.
267267

268-
**Database-First Development** - Your PostgreSQL schema is the source of truth. Design your data model with the full power of SQL, leverage Row-Level Security for authorization, and let LaunchQL generate your API automatically.
268+
**Database-First Development** - Your PostgreSQL schema is the source of truth. Design your data model with the full power of SQL, leverage Row-Level Security for authorization, and let Constructive generate your API automatically.
269269

270270
**Production-Ready** - Built for teams shipping real applications. Deterministic migrations, comprehensive testing tools, automatic API generation, and deployment automation mean you can move fast without breaking things.
271271

272272
**Developer Experience** - Hot-reload development server, GraphiQL explorer, automatic TypeScript types, and comprehensive testing utilities make building PostgreSQL applications a joy.
273273

274274
## Architecture
275275

276-
LaunchQL applications follow a clear architecture:
276+
Constructive applications follow a clear architecture:
277277

278278
1. **Database Layer** - PostgreSQL schemas with tables, functions, views, and RLS policies organized into modules
279279
2. **Migration Layer** - pgpm manages schema changes with version-controlled, plan-driven deployments
@@ -287,7 +287,7 @@ This architecture eliminates the traditional ORM layer and API boilerplate, lett
287287
### 📦 Package Management & Migrations
288288

289289
- **[pgpm](https://github.com/constructive-io/constructive/tree/main/packages/pgpm)** - PostgreSQL Package Manager for modular database development with npm-style dependency management
290-
- **[@launchql/cli](https://github.com/constructive-io/constructive/tree/main/packages/cli)** - Full-featured command-line toolkit for LaunchQL projects with scaffolding, migrations, and deployment
290+
- **[@launchql/cli](https://github.com/constructive-io/constructive/tree/main/packages/cli)** - Full-featured command-line toolkit for Constructive projects with scaffolding, migrations, and deployment
291291
- **[@pgpmjs/core](https://github.com/constructive-io/constructive/tree/main/packages/core)** - Core migration engine with module orchestration and dependency resolution
292292

293293
### 🚀 GraphQL API & Server

__fixtures__/stage/extensions/@pgpm/verify/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Verification utilities for PostgreSQL extensions
1616

1717
## Overview
1818

19-
`@pgpm/verify` is the foundational verification package used by all LaunchQL extensions. It provides SQL functions to verify the existence and correctness of database objects during deployment, testing, and migrations. This package is essential for the deploy/verify/revert pattern, ensuring that database changes are applied correctly and can be validated programmatically.
19+
`@pgpm/verify` is the foundational verification package used by all PGPM modules. It provides SQL functions to verify the existence and correctness of database objects during deployment, testing, and migrations. This package is essential for the deploy/verify/revert pattern, ensuring that database changes are applied correctly and can be validated programmatically.
2020

2121
## Features
2222

@@ -337,9 +337,9 @@ END $$;
337337

338338
## Integration Examples
339339

340-
### With All LaunchQL Extensions
340+
### With all pgpm modules
341341

342-
Every LaunchQL extension depends on `@pgpm/verify`:
342+
Every pgpm modulesdepends on `@pgpm/verify`:
343343

344344
**package.json:**
345345
```json

docker/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ This directory contains Dockerfiles for PostgreSQL-based images that extend the
1010
- **pgvector-postgis** - PostgreSQL with both pgvector and PostGIS extensions, plus CloudNativePG compatibility (pgaudit, pg-failover-slots, barman-cloud)
1111
- **node-sqitch** - Node.js with Sqitch for database change management
1212

13-
## LaunchQL Main Image
13+
## Constructive Main Image
1414

15-
The main LaunchQL application image (built from the codebase) is now at the **root** of the repository:
15+
The main Constructive application image (built from the codebase) is now at the **root** of the repository:
1616
- **Dockerfile**: `/Dockerfile` (root level)
1717
- **GitHub Action**: `.github/workflows/docker-launchql.yaml`
1818

@@ -36,7 +36,7 @@ make PROCESS=pgvector-postgis build-push-process
3636
make build-push-all
3737
```
3838

39-
### Building LaunchQL Image (root level)
39+
### Building Constructive Image (root level)
4040

4141
```bash
4242
# From the root of the repository (uses default versions from Dockerfile)

extensions/@pgpm/verify/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Verification utilities for PostgreSQL extensions
1616

1717
## Overview
1818

19-
`@pgpm/verify` is the foundational verification package used by all LaunchQL extensions. It provides SQL functions to verify the existence and correctness of database objects during deployment, testing, and migrations. This package is essential for the deploy/verify/revert pattern, ensuring that database changes are applied correctly and can be validated programmatically.
19+
`@pgpm/verify` is the foundational verification package used by all PGPM modules. It provides SQL functions to verify the existence and correctness of database objects during deployment, testing, and migrations. This package is essential for the deploy/verify/revert pattern, ensuring that database changes are applied correctly and can be validated programmatically.
2020

2121
## Features
2222

functions/send-email-link/CHANGELOG.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

functions/simple-email/CHANGELOG.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

graphile/graphile-cache/CHANGELOG.md

Lines changed: 0 additions & 158 deletions
This file was deleted.

0 commit comments

Comments
 (0)