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.10.rc.3 spec/dummy/db/migrate/144_create_classification_types.rb
enju_biblio-0.3.10.rc.2 spec/dummy/db/migrate/144_create_classification_types.rb
enju_library-0.3.8.rc.2 spec/dummy/db/migrate/144_create_classification_types.rb
enju_library-0.3.8.rc.1 spec/dummy/db/migrate/144_create_classification_types.rb
enju_biblio-0.3.10.rc.1 spec/dummy/db/migrate/144_create_classification_types.rb
enju_biblio-0.3.9 spec/dummy/db/migrate/144_create_classification_types.rb
enju_ndl-0.3.2 spec/dummy/db/migrate/144_create_classification_types.rb
enju_ndl-0.4.0.rc.1 spec/dummy/db/migrate/144_create_classification_types.rb
enju_biblio-0.4.0.rc.1 spec/dummy/db/migrate/144_create_classification_types.rb
enju_library-0.4.0.rc.1 spec/dummy/db/migrate/144_create_classification_types.rb
enju_subject-0.3.2 db/migrate/144_create_classification_types.rb
enju_biblio-0.3.8 spec/dummy/db/migrate/144_create_classification_types.rb
enju_library-0.3.7 spec/dummy/db/migrate/144_create_classification_types.rb
enju_library-0.3.6 spec/dummy/db/migrate/144_create_classification_types.rb
enju_biblio-0.3.7 spec/dummy/db/migrate/144_create_classification_types.rb
enju_biblio-0.3.6 spec/dummy/db/migrate/144_create_classification_types.rb
enju_library-0.4.0.beta.4 spec/dummy/db/migrate/144_create_classification_types.rb
enju_biblio-0.4.0.beta.2 spec/dummy/db/migrate/144_create_classification_types.rb
enju_library-0.4.0.beta.3 spec/dummy/db/migrate/144_create_classification_types.rb
enju_library-0.4.0.beta.2 spec/dummy/db/migrate/144_create_classification_types.rb