-- Leo's gemini proxy
-- Connecting to freeshell.de:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini;lang=en-GB
> Promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server.
Create a model with 3 fields and a migration file:
sequelize model:generate --name {table_name} --attributes {field1:integer,field2:string,field3:boolean}
Run the migration file:
sequelize db:migrate
Revert all migrations:
sequelize db:migrate:undo:all
Create a seed file with the specified name to populate the database:
sequelize seed:generate --name {seed_filename}
Populate database using all seed files:
sequelize db:seed:all
> Copyright © 2014—present the tldr-pages team and contributors.
> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
-- Response ended
-- Page fetched on Fri May 17 00:41:38 2024