Sha256: bd5a7544c02570742538af2ed0ae6207624e4f7dbdacba30473189945cebb863

Contents?: true

Size: 301 Bytes

Versions: 158

Compression:

Stored size: 301 Bytes

Contents

class CreatePatronTypes < ActiveRecord::Migration
  def self.up
    create_table :patron_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 :patron_types
  end
end

Version data entries

158 entries across 158 versions & 7 rubygems

Version Path
enju_circulation-0.0.46 spec/dummy/db/migrate/20080905191442_create_patron_types.rb
enju_message-0.0.22 spec/dummy/db/migrate/20080905191442_create_patron_types.rb
enju_message-0.1.6 spec/dummy/db/migrate/20080905191442_create_patron_types.rb
enju_message-0.0.21 spec/dummy/db/migrate/20080905191442_create_patron_types.rb
enju_message-0.1.5 spec/dummy/db/migrate/20080905191442_create_patron_types.rb
enju_message-0.0.20 spec/dummy/db/migrate/20080905191442_create_patron_types.rb
enju_message-0.1.4 spec/dummy/db/migrate/20080905191442_create_patron_types.rb
enju_event-0.0.20 spec/dummy/db/migrate/20080905191442_create_patron_types.rb
enju_event-0.1.7 spec/dummy/db/migrate/20080905191442_create_patron_types.rb
enju_inter_library_loan-0.0.4 spec/dummy/db/migrate/20080905191442_create_patron_types.rb
enju_bookmark-0.0.17 spec/dummy/db/migrate/20080905191442_create_patron_types.rb
enju_bookmark-0.0.16 spec/dummy/db/migrate/20080905191442_create_patron_types.rb
enju_circulation-0.0.45 spec/dummy/db/migrate/20080905191442_create_patron_types.rb
enju_bookmark-0.0.15 spec/dummy/db/migrate/20080905191442_create_patron_types.rb
enju_subject-0.0.14 spec/dummy/db/migrate/20080905191442_create_patron_types.rb
enju_bookmark-0.0.14 spec/dummy/db/migrate/20080905191442_create_patron_types.rb
enju_bookmark-0.0.13 spec/dummy/db/migrate/20080905191442_create_patron_types.rb
enju_circulation-0.0.43 spec/dummy/db/migrate/20080905191442_create_patron_types.rb
enju_event-0.0.19 spec/dummy/db/migrate/20080905191442_create_patron_types.rb
enju_message-0.1.3 spec/dummy/db/migrate/20080905191442_create_patron_types.rb