diff --git a/docs/index.md b/docs/index.md index c6a08ae..d9546f1 100644 --- a/docs/index.md +++ b/docs/index.md @@ -4,14 +4,15 @@ With GoBlog [I](https://jlelse.blog) created my own blogging system, because it License: MIT License -Blog: https://goblog.app/ -Documentation: https://docs.goblog.app -Main repository: https://git.jlel.se/jlelse/GoBlog -GitHub mirror: https://github.com/jlelse/GoBlog -Codeberg mirror: https://codeberg.org/jlelse/GoBlog +[Blog](https://goblog.app/) +[Documentation](https://docs.goblog.app) +[Main repository](https://git.jlel.se/jlelse/GoBlog) +[GitHub mirror](https://github.com/jlelse/GoBlog) +[Codeberg mirror](https://codeberg.org/jlelse/GoBlog) More information about GoBlog: - [How to install and run GoBlog](./install.md) - [How to build GoBlog](./build.md) -- [Administration paths](./admin-paths.md) \ No newline at end of file +- [Administration paths](./admin-paths.md) +- [GoBlog's storage system](./storage.md) \ No newline at end of file diff --git a/docs/storage.md b/docs/storage.md new file mode 100644 index 0000000..7a28586 --- /dev/null +++ b/docs/storage.md @@ -0,0 +1,25 @@ +# GoBlog's storage system + +## Database + +GoBlog uses a SQLite database for storing most of the data (posts, comments, webmention, sessions, etc.). The database is accessed using the Go library [mattn/go-sqlite3](https://github.com/mattn/go-sqlite3). With each startup it is checked if there are schema migrations to be performed on the database. + +Currently there are the following database tables: + +``` +activitypub_followers +comments +deleted +indieauthauth +indieauthtoken +migrations +notifications +persistent_cache +post_parameters +posts +posts_fts +queue +sessions +shortpath +webmentions +``` \ No newline at end of file