An unofficial, mostly Bitwarden-compatible API server written in Ruby (Sinatra and ActiveRecord)
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 20 lines 536 B view raw
1class CreateUsers < ActiveRecord::Migration[5.1] 2 def change 3 create_table :users, id: :string, primary_key: :uuid do |t| 4 t.text :email 5 t.boolean :email_verified, default: true 6 t.boolean :premium, default: true 7 t.text :name 8 t.text :password_hash 9 t.text :password_hint 10 t.text :key 11 t.binary :private_key 12 t.binary :public_key 13 t.string :totp_secret 14 t.string :security_stamp 15 t.string :culture 16 t.timestamps 17 t.index :email, unique: true 18 end 19 end 20end