Add rodauth

This commit is contained in:
julien committed 2026-11-02 11:11:42 +01:00
1 parent 747dd5c78f
commit 7a4805f749
6 files changed
+49 -13

No files matched your search

@@ -0,0 +1,19 @@
Sequel.migration do
up do
create_table(:accounts) do
primary_key :id, type: :Bignum
String :email, null: false
index :email, unique: true
end
create_table(:account_password_hashes) do
foreign_key :id, :accounts, primary_key: true, type: :Bignum
String :password_hash, null: false
end
end
down do
drop_table(:account_password_hashes, :accounts)
end
end