Update gitignore, add graphviz diagrams
This commit is contained in:
parent
c6819acc8d
commit
c2619d9aa2
131
.gitignore
vendored
131
.gitignore
vendored
@ -1,2 +1,129 @@
|
|||||||
/target
|
|
||||||
**/*.rs.bk
|
# Created by https://www.gitignore.io/api/rust,macos,jetbrains+all
|
||||||
|
# Edit at https://www.gitignore.io/?templates=rust,macos,jetbrains+all
|
||||||
|
|
||||||
|
### JetBrains+all ###
|
||||||
|
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
|
||||||
|
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
||||||
|
|
||||||
|
# User-specific stuff
|
||||||
|
.idea/**/workspace.xml
|
||||||
|
.idea/**/tasks.xml
|
||||||
|
.idea/**/usage.statistics.xml
|
||||||
|
.idea/**/dictionaries
|
||||||
|
.idea/**/shelf
|
||||||
|
|
||||||
|
# Generated files
|
||||||
|
.idea/**/contentModel.xml
|
||||||
|
|
||||||
|
# Sensitive or high-churn files
|
||||||
|
.idea/**/dataSources/
|
||||||
|
.idea/**/dataSources.ids
|
||||||
|
.idea/**/dataSources.local.xml
|
||||||
|
.idea/**/sqlDataSources.xml
|
||||||
|
.idea/**/dynamic.xml
|
||||||
|
.idea/**/uiDesigner.xml
|
||||||
|
.idea/**/dbnavigator.xml
|
||||||
|
|
||||||
|
# Gradle
|
||||||
|
.idea/**/gradle.xml
|
||||||
|
.idea/**/libraries
|
||||||
|
|
||||||
|
# Gradle and Maven with auto-import
|
||||||
|
# When using Gradle or Maven with auto-import, you should exclude module files,
|
||||||
|
# since they will be recreated, and may cause churn. Uncomment if using
|
||||||
|
# auto-import.
|
||||||
|
# .idea/modules.xml
|
||||||
|
# .idea/*.iml
|
||||||
|
# .idea/modules
|
||||||
|
|
||||||
|
# CMake
|
||||||
|
cmake-build-*/
|
||||||
|
|
||||||
|
# Mongo Explorer plugin
|
||||||
|
.idea/**/mongoSettings.xml
|
||||||
|
|
||||||
|
# File-based project format
|
||||||
|
*.iws
|
||||||
|
|
||||||
|
# IntelliJ
|
||||||
|
out/
|
||||||
|
|
||||||
|
# mpeltonen/sbt-idea plugin
|
||||||
|
.idea_modules/
|
||||||
|
|
||||||
|
# JIRA plugin
|
||||||
|
atlassian-ide-plugin.xml
|
||||||
|
|
||||||
|
# Cursive Clojure plugin
|
||||||
|
.idea/replstate.xml
|
||||||
|
|
||||||
|
# Crashlytics plugin (for Android Studio and IntelliJ)
|
||||||
|
com_crashlytics_export_strings.xml
|
||||||
|
crashlytics.properties
|
||||||
|
crashlytics-build.properties
|
||||||
|
fabric.properties
|
||||||
|
|
||||||
|
# Editor-based Rest Client
|
||||||
|
.idea/httpRequests
|
||||||
|
|
||||||
|
# Android studio 3.1+ serialized cache file
|
||||||
|
.idea/caches/build_file_checksums.ser
|
||||||
|
|
||||||
|
### JetBrains+all Patch ###
|
||||||
|
# Ignores the whole .idea folder and all .iml files
|
||||||
|
# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360
|
||||||
|
|
||||||
|
.idea/
|
||||||
|
|
||||||
|
# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023
|
||||||
|
|
||||||
|
*.iml
|
||||||
|
modules.xml
|
||||||
|
.idea/misc.xml
|
||||||
|
*.ipr
|
||||||
|
|
||||||
|
# Sonarlint plugin
|
||||||
|
.idea/sonarlint
|
||||||
|
|
||||||
|
### macOS ###
|
||||||
|
# General
|
||||||
|
.DS_Store
|
||||||
|
.AppleDouble
|
||||||
|
.LSOverride
|
||||||
|
|
||||||
|
# Icon must end with two \r
|
||||||
|
Icon
|
||||||
|
|
||||||
|
# Thumbnails
|
||||||
|
._*
|
||||||
|
|
||||||
|
# Files that might appear in the root of a volume
|
||||||
|
.DocumentRevisions-V100
|
||||||
|
.fseventsd
|
||||||
|
.Spotlight-V100
|
||||||
|
.TemporaryItems
|
||||||
|
.Trashes
|
||||||
|
.VolumeIcon.icns
|
||||||
|
.com.apple.timemachine.donotpresent
|
||||||
|
|
||||||
|
# Directories potentially created on remote AFP share
|
||||||
|
.AppleDB
|
||||||
|
.AppleDesktop
|
||||||
|
Network Trash Folder
|
||||||
|
Temporary Items
|
||||||
|
.apdisk
|
||||||
|
|
||||||
|
### Rust ###
|
||||||
|
# Generated by Cargo
|
||||||
|
# will have compiled files and executables
|
||||||
|
**/target/**
|
||||||
|
|
||||||
|
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
|
||||||
|
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
|
||||||
|
Cargo.lock
|
||||||
|
|
||||||
|
# These are backup files generated by rustfmt
|
||||||
|
**/*.rs.bk
|
||||||
|
|
||||||
|
# End of https://www.gitignore.io/api/rust,macos,jetbrains+all
|
||||||
|
71
design/db.gv
Normal file
71
design/db.gv
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
digraph {
|
||||||
|
graph [pad="0.5", nodesep="0.5", ranksep="2"];
|
||||||
|
node [shape=plain]
|
||||||
|
rankdir=RL;
|
||||||
|
|
||||||
|
media [label=<
|
||||||
|
<table border="0" cellborder="1" cellspacing="0">
|
||||||
|
<tr><td><b>media</b></td></tr>
|
||||||
|
<tr><td port="id">id</td></tr>
|
||||||
|
<tr><td port="media_type_id">media_type_id</td></tr>
|
||||||
|
<tr><td port="display_name">display_name</td></tr>
|
||||||
|
<tr><td port="notes">notes</td></tr>
|
||||||
|
</table>
|
||||||
|
>];
|
||||||
|
|
||||||
|
media_name [label=<
|
||||||
|
<table border="0" cellborder="1" cellspacing="0">
|
||||||
|
<tr><td><b>media_name</b></td></tr>
|
||||||
|
<tr><td port="id">id</td></tr>
|
||||||
|
<tr><td port="media_id">media_id</td></tr>
|
||||||
|
<tr><td port="name">name</td></tr>
|
||||||
|
<tr><td pport="language">language</td></tr>
|
||||||
|
</table>
|
||||||
|
>];
|
||||||
|
|
||||||
|
# CD, DVD, etc.
|
||||||
|
media_format [label=<
|
||||||
|
<table border="0" cellborder="1" cellspacing="0">
|
||||||
|
<tr><td><b>media_format</b></td></tr>
|
||||||
|
<tr><td port="id">id</td></tr>
|
||||||
|
<tr><td port="physical">physical</td></tr>
|
||||||
|
<tr><td port="format">format</td></tr>
|
||||||
|
</table>
|
||||||
|
>];
|
||||||
|
|
||||||
|
media_format_link [label=<
|
||||||
|
<table border="0" cellborder="1" cellspacing="0">
|
||||||
|
<tr><td><b>media_format_link</b></td></tr>
|
||||||
|
<tr><td port="media_id">media_type_id</td></tr>
|
||||||
|
<tr><td port="media_format_id">media_format_id</td></tr>
|
||||||
|
</table>
|
||||||
|
>]
|
||||||
|
|
||||||
|
# Video Game, Anime, Movie, TV Show
|
||||||
|
media_type [label=<
|
||||||
|
<table border="0" cellborder="1" cellspacing="0">
|
||||||
|
<tr><td><b>media_type</b></td></tr>
|
||||||
|
<tr><td port="id">id</td></tr>
|
||||||
|
<tr><td port="type">type</td></tr>
|
||||||
|
</table>
|
||||||
|
>];
|
||||||
|
|
||||||
|
media_type_format_link [label=<
|
||||||
|
<table border="0" cellborder="1" cellspacing="0">
|
||||||
|
<tr><td><b>media_type_format_link</b></td></tr>
|
||||||
|
<tr><td port="media_type_id">media_type_id</td></tr>
|
||||||
|
<tr><td port="media_format_id">media_format_id</td></tr>
|
||||||
|
</table>
|
||||||
|
>]
|
||||||
|
|
||||||
|
media_type_format_link:media_type_id -> media_type:id
|
||||||
|
media_type_format_link:media_format_id -> media_format:id
|
||||||
|
|
||||||
|
media:media_type_id -> media_type:id
|
||||||
|
|
||||||
|
media_name:media_id -> media:id
|
||||||
|
|
||||||
|
media_format_link:media_id -> media:id
|
||||||
|
media_format_link:media_format_id -> media_format:id
|
||||||
|
|
||||||
|
}
|
7
design/media-collection-tree.gv
Normal file
7
design/media-collection-tree.gv
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
digraph objectTree {
|
||||||
|
media_type -> media
|
||||||
|
media_type -> media_format
|
||||||
|
|
||||||
|
media_format -> media
|
||||||
|
media -> media_name
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user