scinote-web/db/migrate/20220712110253_add_api_key_to_users.rb
2024-05-24 12:36:01 +02:00

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