mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 23:12:33 -05:00
add user encrypted configs
This commit is contained in:
1 parent
9da7463657
commit
11a90d797a
10 files changed
+60
No files matched your search
@@ -0,0 +1,15 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class CreateEncryptedUserConfigs < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
create_table :encrypted_user_configs do |t|
|
||||
t.references :user, null: false, foreign_key: true, index: true
|
||||
t.string :key, null: false
|
||||
t.text :value, null: false
|
||||
|
||||
t.index %i[user_id key], unique: true
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user