This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
2023-07-12 09:47:08 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-05-01 17:42:13 +02:00
|
|
|
class AddAllowedLanguagesToUser < ActiveRecord::Migration[5.0]
|
|
|
|
def change
|
|
|
|
add_column :users, :allowed_languages, :string, array: true, default: [], null: false
|
|
|
|
add_index :users, :allowed_languages, using: :gin
|
|
|
|
end
|
|
|
|
end
|