This commit is contained in:
SriChatala 2025-04-22 16:15:29 +02:00 committed by GitHub
commit e03a2bf97c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,4 +48,24 @@ docker build -t drawdb .
docker run -p 3000:80 drawdb docker run -p 3000:80 drawdb
``` ```
### Script Examples
MSSQL Server Script
```sql
CREATE TABLE categories (
id INT PRIMARY KEY,
name VARCHAR(255) NOT NULL,
description TEXT
);
CREATE TABLE products (
id INT PRIMARY KEY,
name VARCHAR(255) NOT NULL,
description TEXT,
price DECIMAL(10,2) NOT NULL,
category_id INT NOT NULL,
FOREIGN KEY (category_id) REFERENCES categories(id)
);
```
Set up the [server](https://github.com/drawdb-io/drawdb-server) and environment variables according to `.env.sample` for the survey and bug report forms. Set up the [server](https://github.com/drawdb-io/drawdb-server) and environment variables according to `.env.sample` for the survey and bug report forms.