PostgreSQL Type | PostgreSQL Size | Description | Range | Diesel Type | Rust Type |
---|---|---|---|---|---|
Nullable Types | nullable | Nullable `` |
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
const messages = { | |
year: { singular: 'year', plural: 'years', denominator: 365, inSeconds: 31536000 }, | |
day: { singular: 'day', plural: 'days', denominator: 24, inSeconds: 86400 }, | |
hour: { singular: 'hour', plural: 'hours', denominator: 60, inSeconds: 3600 }, | |
minute: { singular: 'minute', plural: 'minutes', denominator: 60, inSeconds: 60 }, | |
second: { singular: 'second', plural: 'seconds', inSeconds: 1 } | |
} | |
function pluralize(value, unit) { | |
if (value === 1) return messages[unit].singular; |
- Checkout your repository wiki via git.
- You can find the URL at the lower-right of your wiki page (look for the label "Clone this wiki locally") - Now that you have pulled down a local copy of your github repo wiki, create a new file in the repo called
_Sidebar.md
- Note that other names might not work. - Within the newly created
_Sidebar.md
file, you can add appropriate [[link]] markdown syntax. - Add your new file to the local repository, and push via git push origin master.
With the same procedure, you can add a header(_Header.md
) and footer(_Footer.md
) file.