diff --git a/config.toml b/config.toml index 4433e0f..4f2d033 100644 --- a/config.toml +++ b/config.toml @@ -47,6 +47,7 @@ menu_items = [ {url = "$BASE_URL/tags", name = "Tags (EN)"}, {url = "$BASE_URL/pt/tags", name = "Tags (PT)"}, {url = "$BASE_URL/quotes", name = "Quotes"}, + {url = "$BASE_URL/research", name = "Research Notes"}, ] after_dark_title = "JulioBiason.Net 4.1" enable_post_view_navigation = false diff --git a/content/research/psql.md b/content/research/psql.md index a1c0166..0e1b9bc 100644 --- a/content/research/psql.md +++ b/content/research/psql.md @@ -1,9 +1,31 @@ +++ title = "psql" weight = 112 + +[taxonomies] +tags = ["research", "postgresql", "psql", "database", "schema", "table"] +++ -- [Show databases](@/research/psql/show-database.md) -- [Use database](@/research/psql/use-database.md) -- [Show schemas](@/research/psql/show-schemas.md) -- [Show tables](@/research/psql/show-tables.md) +## Show Database + +``` +\l +``` + +## Use Database + +``` +\c [database_name] +``` + +## Show Schemas + +``` +\dn +``` + +## Show Tables + +``` +\dt +``` diff --git a/content/research/psql/show-database.md b/content/research/psql/show-database.md deleted file mode 100644 index 5d20eaa..0000000 --- a/content/research/psql/show-database.md +++ /dev/null @@ -1,10 +0,0 @@ -+++ -title = "PSQL: Show database" - -[taxonomies] -tags = ["research", "postgresql", "psql", "database"] -+++ - -``` -\dt -``` diff --git a/content/research/psql/show-schemas.md b/content/research/psql/show-schemas.md deleted file mode 100644 index 7d19902..0000000 --- a/content/research/psql/show-schemas.md +++ /dev/null @@ -1,10 +0,0 @@ -+++ -title = "PSQL: Show Schemas" - -[taxonomies] -tags = ["research", "postgresql", "psql", "schemas"] -+++ - -``` -\dn -``` diff --git a/content/research/psql/show-tables.md b/content/research/psql/show-tables.md deleted file mode 100644 index 7d5e253..0000000 --- a/content/research/psql/show-tables.md +++ /dev/null @@ -1,10 +0,0 @@ -+++ -title = "PSQL: Show Tables" - -[taxonomies] -tags = ["research", "postgresql", "psql", "tables"] -+++ - -``` -\dt -``` diff --git a/content/research/psql/use-database.md b/content/research/psql/use-database.md deleted file mode 100644 index 6950659..0000000 --- a/content/research/psql/use-database.md +++ /dev/null @@ -1,10 +0,0 @@ -+++ -title = "PSQL: Use Database" - -[taxonomies] -tags = ["research", "postgresql", "psql", "database"] -+++ - -``` -\c [database_name] -```