1
0
Fork 1
mirror of https://github.com/mastodon/mastodon.git synced 2024-12-17 23:37:54 +00:00
mastodon/db/migrate/20170414132105_add_language_to_statuses.rb
Eugen e4af4898de Add language detection ()
* Add language detection via WhatLanguage and (de)serialization of it through Atom

* Fix default language in ProcessFeedService

* Re-add newline before 'react-rails' Gem to fix groupings

Fixes Code Climate issue
2017-04-16 20:32:17 +02:00

6 lines
155 B
Ruby

class AddLanguageToStatuses < ActiveRecord::Migration[5.0]
def change
add_column :statuses, :language, :string, null: false, default: 'en'
end
end