20170626000001_locale_add_direction.rb 322 B

1234567891011
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class LocaleAddDirection < ActiveRecord::Migration[4.2]
  3. def up
  4. # return if it's a new setup
  5. return if !Setting.exists?(name: 'system_init_done')
  6. add_column :locales, :dir, :string, limit: 9, null: false, default: 'ltr'
  7. end
  8. end