mirror of
https://github.com/Evolix/chexpire.git
synced 2024-06-27 11:32:52 +02:00
9 lines
331 B
Ruby
9 lines
331 B
Ruby
# Copyright (C) 2018 Colin Darie <colin@darie.eu>, 2018 Jeremy Lecour <jlecour@evolix.fr>, 2018 Evolix <info@evolix.fr>
|
|
# License: GNU AGPL-3+ (see full text in LICENSE file)
|
|
|
|
class AddLocaleToUsers < ActiveRecord::Migration[5.2]
|
|
def change
|
|
add_column :users, :locale, :string, null: false, default: "en", limit: 5
|
|
end
|
|
end
|