mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 19:24:10 +08:00
10 lines
220 B
Ruby
10 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
|