mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 13:19:39 +02:00
7 lines
183 B
Ruby
7 lines
183 B
Ruby
|
class AddSourceToApiKeys < ActiveRecord::Migration[7.2]
|
||
|
def change
|
||
|
add_column :api_keys, :source, :string, default: "web"
|
||
|
add_index :api_keys, [:user_id, :source]
|
||
|
end
|
||
|
end
|