doc: add db tables

This commit is contained in:
2022-07-16 08:29:09 +00:00
committed by GitHub
parent 4b4aefffb8
commit 96cf0867fd
4 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
| Name | Description | Type |
|:----:|:-----------:|:----:|
| id | Artwork id | integer |
| tag_id | Tag id | integer |

7
doc/db/pixiv_artworks.md Normal file
View File

@@ -0,0 +1,7 @@
| Name | Description | Type |
|:----:|:-----------:|:----:|
| id | Artwork id (unique) | integer |
| title | Title of artwork | string |
| author | Author name | string |
| uid | User id of the author | integer |
| description | Description of artwork | string |

4
doc/db/tags.md Normal file
View File

@@ -0,0 +1,4 @@
| Name | Description | Type |
|:----:|:-----------:|:----:|
| id | Tag id (unique and auto increased) | integer |
| name | Name of tag (unqiue) | string |

5
doc/db/tags_i18n.md Normal file
View File

@@ -0,0 +1,5 @@
| Name | Description | Type |
|:----:|:-----------:|:----:|
| id | Tag id | integer |
| lang | Language | string |
| translated | The translated name of the tag | string |