Gab Social. All are welcome.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
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
|
||||
Reference in New Issue
Block a user