mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 11:45:18 +08:00
11 lines
220 B
Ruby
11 lines
220 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class AddApiKeyToUsers < ActiveRecord::Migration[6.1]
|
||
|
def change
|
||
|
change_table :users, bulk: true do |t|
|
||
|
t.string :api_key
|
||
|
t.datetime :api_key_expires_at
|
||
|
end
|
||
|
end
|
||
|
end
|