Add session & user management in the backend

This commit is contained in:
hannah.dagemark 2025-05-09 14:56:30 +02:00 committed by Hannah Dagemark
commit 372fe53947
12 changed files with 88 additions and 11 deletions

View file

@ -0,0 +1,12 @@
class CreateUsers < ActiveRecord::Migration[8.0]
def change
create_table :users do |t|
t.string :name
t.string :status
t.string :email
t.string :password_digest
t.timestamps
end
end
end

View file

@ -0,0 +1,5 @@
class DropNotesTable < ActiveRecord::Migration[8.0]
def change
drop_table :notes
end
end