| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Nanoid implementation in PostgreSQL PL/pgSQL
Run the SQL file, or include the function in your database migrations
Use as the default value for your id columns!
CREATE TABLE users (
"id" char(21) NOT NULL DEFAULT nanoid(),
...
)| Back | FazBrowse Home | New Git URL |