Sha256: 05b097673d3299df13d14c16bb346414de2540e268bfa30533b11021251c67b2

Contents?: true

Size: 327 Bytes

Versions: 77

Compression:

Stored size: 327 Bytes

Contents

class CreateClassificationTypes < ActiveRecord::Migration[4.2]
  def self.up
    create_table :classification_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 :classification_types
  end
end

Version data entries

77 entries across 77 versions & 8 rubygems

Version Path
enju_biblio-0.3.18 spec/dummy/db/migrate/144_create_classification_types.rb
enju_biblio-0.3.17 spec/dummy/db/migrate/144_create_classification_types.rb
enju_biblio-0.3.16 spec/dummy/db/migrate/144_create_classification_types.rb
enju_biblio-0.3.15 spec/dummy/db/migrate/144_create_classification_types.rb
enju_library-0.3.11 spec/dummy/db/migrate/144_create_classification_types.rb
enju_ndl-0.3.3 spec/dummy/db/migrate/144_create_classification_types.rb
enju_nii-0.3.2 spec/dummy/db/migrate/144_create_classification_types.rb
enju_subject-0.3.4 db/migrate/144_create_classification_types.rb
enju_library-0.3.10 spec/dummy/db/migrate/144_create_classification_types.rb
enju_biblio-0.3.14 spec/dummy/db/migrate/144_create_classification_types.rb
enju_bookmark-0.3.2 spec/dummy/db/migrate/144_create_classification_types.rb
enju_biblio-0.3.13 spec/dummy/db/migrate/144_create_classification_types.rb
enju_biblio-0.3.12 spec/dummy/db/migrate/144_create_classification_types.rb
enju_oai-0.3.1 spec/dummy/db/migrate/144_create_classification_types.rb
enju_biblio-0.3.11 spec/dummy/db/migrate/144_create_classification_types.rb
enju_library-0.3.9 spec/dummy/db/migrate/144_create_classification_types.rb
enju_nii-0.3.1 spec/dummy/db/migrate/144_create_classification_types.rb
enju_subject-0.3.3 db/migrate/144_create_classification_types.rb
enju_biblio-0.3.10 spec/dummy/db/migrate/144_create_classification_types.rb
enju_library-0.3.8 spec/dummy/db/migrate/144_create_classification_types.rb