Skip to content

WWW SQL Designer, your online SQL diagramming tool

License

Notifications You must be signed in to change notification settings

bcgov/wwwsqldesigner

Repository files navigation

Lifecycle:Stable

WWW SQL Designer

WWW SQL Designer allows users to create database models directly in their browser, without the need for local tools.

The original WWW SQL Designer was created by Ondrej Zara and is built atop the oz.js JavaScript module. It is distributed under the BSD 3-clause license and available here: https://github.com/ondras/wwwsqldesigner

This repository replaces the backend with a .NET 6 / EF Core version and expands the featureset.

Quick Start

  1. Clone the repository
  2. Open the solution in Visual Studio
  3. Run it. By default, it will create a LocalDB instance and deploy the DB schema via Entity Framework

Note that the auto-creation of a database and schema only works with LocalDB in a Development environment. When you're setting up a CI/CD pipeline for Test and Production environments, please include a dotnet ef migrations bundle step to hanlde DB migrations.

Current Features

  1. Full-feature ER diagrams
  2. Comments per table and column
  3. Creation of SQL DDL scripts based on the data model (full script only, no migrations)
  4. Save and load models from a database
  5. The DB connection is based on Entity Framework Core, so supports LocalDB (for development), MSSQL, PostgreSQL, etc.
  6. Data model versioning

Upcoming Features

  1. Easier way to load data model versions
  2. Export to Entity Framework classes, not just SQL DDL
  3. Capture of data classifications per column
  4. Capture of records retention schedule per column
  5. Expanding the SQL import feature to support more than an import from a local MySQL DB
  6. User roles and permissions

About

WWW SQL Designer, your online SQL diagramming tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published