---
name: php186-skill-6980
description: "使用SQL生成和关系建模构建数据库模式。用于数据库设计。"
---

# Schema Builder

## schema-builder

 

Build database schemas with SQL generation and relationship modeling. Use when designing databases.

 

## Commands

 

### ` create `

 

```
scripts/script.sh create <table cols>
```

 

### ` alter `

 

```
scripts/script.sh alter <table action col>
```

 

### ` show `

 

```
scripts/script.sh show <table>
```

 

### ` export `

 

```
scripts/script.sh export <format>
```

 

### ` validate `

 

```
scripts/script.sh validate <file>
```

 

### ` er `

 

```
scripts/script.sh er <t1 t2 relation>
```

 

## Data Storage

 

Data stored in ` ~/.local/share/schema-builder/ `.

 

*Powered by BytesAgain | bytesagain.com | hello@bytesagain.com*
