AttestationTemplate: store logo and signature with uuid
This commit is contained in:
parent
475675f75d
commit
3dce5b9b5e
7 changed files with 68 additions and 6 deletions
|
@ -0,0 +1,5 @@
|
|||
class AddLogoSecureTokenColumnToAttestationTemplate < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
add_column :attestation_templates, :logo_secure_token, :string
|
||||
end
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
class AddSignatureSecureTokenColumnToAttestationTemplate < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
add_column :attestation_templates, :signature_secure_token, :string
|
||||
end
|
||||
end
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20171019085515) do
|
||||
ActiveRecord::Schema.define(version: 20171019113610) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -81,6 +81,8 @@ ActiveRecord::Schema.define(version: 20171019085515) do
|
|||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.integer "procedure_id"
|
||||
t.string "logo_secure_token"
|
||||
t.string "signature_secure_token"
|
||||
t.index ["procedure_id"], name: "index_attestation_templates_on_procedure_id", unique: true, using: :btree
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue