Sha256: 4e537cb09db45cf08b17c17d4fe3e698ae66baa7160973f22458c5c9dbca0559
Contents?: true
Size: 414 Bytes
Versions: 334
Compression:
Stored size: 414 Bytes
Contents
class CreateLanguages < ActiveRecord::Migration def self.up create_table :languages, :force => true do |t| t.string :name t.string :english_name t.string :locale t.boolean :supported, :default => true t.boolean :is_default, :default => false end add_index :languages, :name add_index :languages, :locale end def self.down drop_table :languages end end
Version data entries
334 entries across 276 versions & 14 rubygems