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_biblio-0.1.0.pre59 spec/dummy/db/migrate/146_create_subject_types.rb
enju_manifestation_viewer-0.1.0.pre15 spec/dummy/db/migrate/146_create_subject_types.rb
enju_biblio-0.1.0.pre58 spec/dummy/db/migrate/146_create_subject_types.rb
enju_oai-0.1.0.pre15 spec/dummy/db/migrate/146_create_subject_types.rb
enju_biblio-0.1.0.pre57 spec/dummy/db/migrate/146_create_subject_types.rb
enju_loc-0.1.0.pre2 spec/dummy/db/migrate/146_create_subject_types.rb
enju_manifestation_viewer-0.1.0.pre14 spec/dummy/db/migrate/146_create_subject_types.rb
enju_subject-0.1.0.pre27 db/migrate/146_create_subject_types.rb
enju_oai-0.1.0.pre14 spec/dummy/db/migrate/146_create_subject_types.rb
enju_loc-0.1.0.pre1 spec/dummy/db/migrate/146_create_subject_types.rb
enju_ndl-0.1.0.pre33 spec/dummy/db/migrate/146_create_subject_types.rb
enju_subject-0.1.0.pre26 db/migrate/146_create_subject_types.rb
enju_biblio-0.1.0.pre56 spec/dummy/db/migrate/146_create_subject_types.rb
enju_ndl-0.1.0.pre32 spec/dummy/db/migrate/146_create_subject_types.rb
enju_biblio-0.1.0.pre55 spec/dummy/db/migrate/146_create_subject_types.rb
enju_biblio-0.1.0.pre54 spec/dummy/db/migrate/146_create_subject_types.rb
enju_event-0.1.17.pre18 spec/dummy/db/migrate/146_create_subject_types.rb
enju_biblio-0.1.0.pre53 spec/dummy/db/migrate/146_create_subject_types.rb
enju_subject-0.1.0.pre25 db/migrate/146_create_subject_types.rb
enju_trunk_subject-1.0.4 db/migrate/146_create_subject_types.rb