-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #312 from k1LoW/number
Add config `format.number:` for display sequential numbers in table rows
- Loading branch information
Showing
28 changed files
with
1,712 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# CamelizeTable | ||
|
||
## Description | ||
|
||
<details> | ||
<summary><strong>Table Definition</strong></summary> | ||
|
||
```sql | ||
CREATE TABLE `CamelizeTable` ( | ||
`id` bigint NOT NULL AUTO_INCREMENT, | ||
`created` datetime NOT NULL, | ||
PRIMARY KEY (`id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci | ||
``` | ||
|
||
</details> | ||
|
||
## Columns | ||
|
||
| # | Name | Type | Default | Nullable | Extra Definition | Children | Parents | Comment | | ||
| - | ---- | ---- | ------- | -------- | --------------- | -------- | ------- | ------- | | ||
| 1 | id | bigint | | false | auto_increment | | | | | ||
| 2 | created | datetime | | false | | | | | | ||
|
||
## Constraints | ||
|
||
| # | Name | Type | Definition | | ||
| - | ---- | ---- | ---------- | | ||
| 1 | PRIMARY | PRIMARY KEY | PRIMARY KEY (id) | | ||
|
||
## Indexes | ||
|
||
| # | Name | Definition | | ||
| - | ---- | ---------- | | ||
| 1 | PRIMARY | PRIMARY KEY (id) USING BTREE | | ||
|
||
## Relations | ||
|
||
![er](CamelizeTable.svg) | ||
|
||
--- | ||
|
||
> Generated by [tbls](https://github.com/k1LoW/tbls) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# testdb | ||
|
||
## Description | ||
|
||
Sample database document. | ||
|
||
## Labels | ||
|
||
`sample` `tbls` | ||
|
||
## Tables | ||
|
||
| # | Name | Columns | Comment | Type | | ||
| - | ---- | ------- | ------- | ---- | | ||
| 1 | [CamelizeTable](CamelizeTable.md) | 2 | | BASE TABLE | | ||
| 2 | [comment_stars](comment_stars.md) | 6 | | BASE TABLE | | ||
| 3 | [comments](comments.md) | 7 | Comments<br>Multi-line<br>table<br>comment | BASE TABLE | | ||
| 4 | [hyphen-table](hyphen-table.md) | 3 | | BASE TABLE | | ||
| 5 | [logs](logs.md) | 7 | Auditログ | BASE TABLE | | ||
| 6 | [post_comments](post_comments.md) | 7 | post and comments View table | VIEW | | ||
| 7 | [posts](posts.md) | 7 | Posts table | BASE TABLE | | ||
| 8 | [user_options](user_options.md) | 4 | User options table | BASE TABLE | | ||
| 9 | [users](users.md) | 6 | Users table | BASE TABLE | | ||
|
||
## Relations | ||
|
||
![er](schema.svg) | ||
|
||
--- | ||
|
||
> Generated by [tbls](https://github.com/k1LoW/tbls) |
Oops, something went wrong.