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_subject-0.1.0.pre db/migrate/146_create_subject_types.rb
enju_subject-0.0.18 db/migrate/146_create_subject_types.rb
enju_subject-0.0.17 db/migrate/146_create_subject_types.rb
enju_subject-0.0.16 db/migrate/146_create_subject_types.rb
enju_subject-0.0.15 db/migrate/146_create_subject_types.rb
enju_subject-0.0.14 db/migrate/146_create_subject_types.rb
enju_subject-0.0.13 db/migrate/146_create_subject_types.rb
enju_subject-0.0.12 db/migrate/146_create_subject_types.rb
enju_subject-0.0.10 db/migrate/146_create_subject_types.rb
enju_subject-0.0.9 db/migrate/146_create_subject_types.rb
enju_subject-0.0.8 db/migrate/146_create_subject_types.rb
enju_subject-0.0.7 db/migrate/146_create_subject_types.rb
enju_subject-0.0.6 db/migrate/146_create_subject_types.rb
enju_subject-0.0.5 db/migrate/146_create_subject_types.rb
enju_subject-0.0.4 db/migrate/146_create_subject_types.rb