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.2.5 spec/dummy/db/migrate/146_create_subject_types.rb
enju_bookmark-0.2.2 spec/dummy/db/migrate/146_create_subject_types.rb
enju_biblio-0.2.4 spec/dummy/db/migrate/146_create_subject_types.rb
enju_subject-0.2.3 db/migrate/146_create_subject_types.rb
enju_nii-0.2.1 spec/dummy/db/migrate/146_create_subject_types.rb
enju_bookmark-0.2.1 spec/dummy/db/migrate/146_create_subject_types.rb
enju_subject-0.2.2 db/migrate/146_create_subject_types.rb
enju_biblio-0.2.3 spec/dummy/db/migrate/146_create_subject_types.rb
enju_ndl-0.2.3 spec/dummy/db/migrate/146_create_subject_types.rb
enju_ndl-0.2.2 spec/dummy/db/migrate/146_create_subject_types.rb
enju_grid-0.2.0 spec/dummy/db/migrate/146_create_subject_types.rb
enju_biblio-0.2.2 spec/dummy/db/migrate/146_create_subject_types.rb
enju_ndl-0.2.1 spec/dummy/db/migrate/146_create_subject_types.rb
enju_subject-0.2.1 db/migrate/146_create_subject_types.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_biblio-0.2.1/spec/dummy/db/migrate/146_create_subject_types.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_biblio-0.2.0/spec/dummy/db/migrate/146_create_subject_types.rb
enju_biblio-0.2.1 spec/dummy/db/migrate/146_create_subject_types.rb
enju_bookmark-0.2.0 spec/dummy/db/migrate/146_create_subject_types.rb
enju_loc-0.2.0 spec/dummy/db/migrate/146_create_subject_types.rb
enju_oai-0.2.0 spec/dummy/db/migrate/146_create_subject_types.rb