Sha256: d1751b57eac034c1dfcd1490c41e922d0f50ffc7e3123e8e108a700f540bf65e

Contents?: true

Size: 327 Bytes

Versions: 235

Compression:

Stored size: 327 Bytes

Contents

class CreateSubjectHeadingTypes < ActiveRecord::Migration
  def self.up
    create_table :subject_heading_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_heading_types
  end
end

Version data entries

235 entries across 234 versions & 14 rubygems

Version Path
enju_biblio-0.2.5 spec/dummy/db/migrate/145_create_subject_heading_types.rb
enju_bookmark-0.2.2 spec/dummy/db/migrate/145_create_subject_heading_types.rb
enju_biblio-0.2.4 spec/dummy/db/migrate/145_create_subject_heading_types.rb
enju_subject-0.2.3 db/migrate/145_create_subject_heading_types.rb
enju_nii-0.2.1 spec/dummy/db/migrate/145_create_subject_heading_types.rb
enju_bookmark-0.2.1 spec/dummy/db/migrate/145_create_subject_heading_types.rb
enju_subject-0.2.2 db/migrate/145_create_subject_heading_types.rb
enju_biblio-0.2.3 spec/dummy/db/migrate/145_create_subject_heading_types.rb
enju_ndl-0.2.3 spec/dummy/db/migrate/145_create_subject_heading_types.rb
enju_ndl-0.2.2 spec/dummy/db/migrate/145_create_subject_heading_types.rb
enju_grid-0.2.0 spec/dummy/db/migrate/145_create_subject_heading_types.rb
enju_biblio-0.2.2 spec/dummy/db/migrate/145_create_subject_heading_types.rb
enju_ndl-0.2.1 spec/dummy/db/migrate/145_create_subject_heading_types.rb
enju_subject-0.2.1 db/migrate/145_create_subject_heading_types.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_biblio-0.2.1/spec/dummy/db/migrate/145_create_subject_heading_types.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_biblio-0.2.0/spec/dummy/db/migrate/145_create_subject_heading_types.rb
enju_biblio-0.2.1 spec/dummy/db/migrate/145_create_subject_heading_types.rb
enju_bookmark-0.2.0 spec/dummy/db/migrate/145_create_subject_heading_types.rb
enju_loc-0.2.0 spec/dummy/db/migrate/145_create_subject_heading_types.rb
enju_oai-0.2.0 spec/dummy/db/migrate/145_create_subject_heading_types.rb