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_nii-0.4.0.beta.1 spec/dummy/db/migrate/144_create_classification_types.rb
enju_ndl-0.4.0.beta.1 spec/dummy/db/migrate/144_create_classification_types.rb
enju_subject-0.4.0.beta.1 db/migrate/144_create_classification_types.rb
enju_biblio-0.4.0.beta.1 spec/dummy/db/migrate/144_create_classification_types.rb
enju_library-0.4.0.beta.1 spec/dummy/db/migrate/144_create_classification_types.rb
enju_biblio-0.3.5 spec/dummy/db/migrate/144_create_classification_types.rb
enju_library-0.3.5 spec/dummy/db/migrate/144_create_classification_types.rb
enju_biblio-0.3.4 spec/dummy/db/migrate/144_create_classification_types.rb
enju_biblio-0.3.3 spec/dummy/db/migrate/144_create_classification_types.rb
enju_library-0.3.4 spec/dummy/db/migrate/144_create_classification_types.rb
enju_library-0.3.3 spec/dummy/db/migrate/144_create_classification_types.rb
enju_bookmark-0.3.1 spec/dummy/db/migrate/144_create_classification_types.rb
enju_subject-0.3.1 db/migrate/144_create_classification_types.rb
enju_biblio-0.3.2 spec/dummy/db/migrate/144_create_classification_types.rb
enju_library-0.3.2 spec/dummy/db/migrate/144_create_classification_types.rb
enju_ndl-0.3.1 spec/dummy/db/migrate/144_create_classification_types.rb
enju_biblio-0.3.1 spec/dummy/db/migrate/144_create_classification_types.rb
enju_oai-0.3.0 spec/dummy/db/migrate/144_create_classification_types.rb
enju_library-0.3.1 spec/dummy/db/migrate/144_create_classification_types.rb
enju_bookmark-0.3.0 spec/dummy/db/migrate/144_create_classification_types.rb