Skip to content

Instantly share code, notes, and snippets.

@labe
labe / Creating_User_Accounts_in_Sinatra.md
Last active October 27, 2022 04:24
Creating user accounts with Sinatra (no BCrypt)

##User accounts with Sinatra (no BCrypt)

Create migration

A very basic schema for a user typically looks like this:

def change
  create_table :users do |t|
 t.string :username