Sha256: 80e590c70043e60783150e31a478ef6afac07e205d1755647fb52138b5d552b5

Contents?: true

Size: 810 Bytes

Versions: 14

Compression:

Stored size: 810 Bytes

Contents

class CreateStudentConfigs < ActiveRecord::Migration
  def change
    create_table :gaku_student_configs do |t|
      t.boolean :active, default: false
      t.boolean :increment_foreign_id_code
      t.string :last_foreign_id_code
      t.boolean :show_code,             default: true
      t.boolean :show_name,             default: true
      t.boolean :show_surname,          default: true
      t.boolean :show_birth_date,       default: true
      t.boolean :show_sex,              default: true
      t.boolean :show_class_name,       default: true
      t.boolean :show_admitted_on,      default: true
      t.boolean :show_primary_address,  default: true
      t.boolean :show_primary_contact,  default: true
      t.boolean :show_assignments,      default: true

      t.timestamps
    end
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
gaku-0.2.4 core/db/migrate/20140131113337_create_student_configs.rb
gaku_core-0.2.4 db/migrate/20140131113337_create_student_configs.rb
gaku-0.2.3 core/db/migrate/20140131113337_create_student_configs.rb
gaku_core-0.2.3 db/migrate/20140131113337_create_student_configs.rb
gaku-0.2.2 core/db/migrate/20140131113337_create_student_configs.rb
gaku_core-0.2.2 db/migrate/20140131113337_create_student_configs.rb
gaku-0.2.1 core/db/migrate/20140131113337_create_student_configs.rb
gaku_core-0.2.1 db/migrate/20140131113337_create_student_configs.rb
gaku-0.2.0 core/db/migrate/20140131113337_create_student_configs.rb
gaku_core-0.2.0 db/migrate/20140131113337_create_student_configs.rb
gaku-0.1.1 core/db/migrate/20140131113337_create_student_configs.rb
gaku_core-0.1.1 db/migrate/20140131113337_create_student_configs.rb
gaku-0.1.0 core/db/migrate/20140131113337_create_student_configs.rb
gaku_core-0.1.0 db/migrate/20140131113337_create_student_configs.rb