mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
339 B
14 lines
339 B
# frozen_string_literal: true
|
|
|
|
class CreateAccessTokens < ActiveRecord::Migration[7.0]
|
|
def change
|
|
create_table :access_tokens do |t|
|
|
t.references :user, null: false, foreign_key: true, index: true
|
|
t.text :token, null: false
|
|
t.text :sha256, null: false, index: { unique: true }
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|