Sha256: 194550f292976cc0e0270dd106cbcdd38ddedb38a7d7b1f6622a5dbb0d004e92

Contents?: true

Size: 304 Bytes

Versions: 235

Compression:

Stored size: 304 Bytes

Contents

class CreateSubjectTypes < ActiveRecord::Migration
  def self.up
    create_table :subject_types do |t|
      t.string :name, :null => false
      t.text :display_name
      t.text :note
      t.integer :position

      t.timestamps
    end
  end

  def self.down
    drop_table :subject_types
  end
end

Version data entries

235 entries across 234 versions & 14 rubygems

Version Path
enju_nii-0.1.0.pre5 spec/dummy/db/migrate/146_create_subject_types.rb
enju_ndl-0.1.0.pre11 spec/dummy/db/migrate/146_create_subject_types.rb
enju_subject-0.1.0.pre8 db/migrate/146_create_subject_types.rb
enju_nii-0.1.0.pre4 spec/dummy/db/migrate/146_create_subject_types.rb
enju_subject-0.1.0.pre7 db/migrate/146_create_subject_types.rb
enju_ndl-0.1.0.pre10 spec/dummy/db/migrate/146_create_subject_types.rb
enju_subject-0.1.0.pre6 db/migrate/146_create_subject_types.rb
enju_ndl-0.1.0.pre9 spec/dummy/db/migrate/146_create_subject_types.rb
enju_subject-0.1.0.pre5 db/migrate/146_create_subject_types.rb
enju_nii-0.1.0.pre3 spec/dummy/db/migrate/146_create_subject_types.rb
enju_ndl-0.1.0.pre8 spec/dummy/db/migrate/146_create_subject_types.rb
enju_ndl-0.1.0.pre7 spec/dummy/db/migrate/146_create_subject_types.rb
enju_nii-0.1.0.pre2 spec/dummy/db/migrate/146_create_subject_types.rb
enju_nii-0.1.0.pre spec/dummy/db/migrate/146_create_subject_types.rb
enju_ndl-0.1.0.pre6 spec/dummy/db/migrate/146_create_subject_types.rb
enju_subject-0.1.0.pre4 db/migrate/146_create_subject_types.rb
enju_ndl-0.1.0.pre5 spec/dummy/db/migrate/146_create_subject_types.rb
enju_subject-0.1.0.pre3 db/migrate/146_create_subject_types.rb
enju_ndl-0.1.0.pre4 spec/dummy/db/migrate/146_create_subject_types.rb
enju_subject-0.1.0.pre2 db/migrate/146_create_subject_types.rb