Sha256: ea1464be41bdbd63bcfe8f9e17db05f13339fe50e333d25168c1660581586559

Contents?: true

Size: 423 Bytes

Versions: 18

Compression:

Stored size: 423 Bytes

Contents

class CreateBookstores < ActiveRecord::Migration
  def self.up
    create_table :bookstores do |t|
      t.text :name, :null => false
      t.string :zip_code
      t.text :address
      t.text :note
      t.string :telephone_number
      t.string :fax_number
      t.string :url
      t.integer :position
      t.datetime :deleted_at

      t.timestamps
    end
  end

  def self.down
    drop_table :bookstores
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
enju_purchase_request-0.1.0.pre7 spec/dummy/db/migrate/124_create_bookstores.rb
enju_purchase_request-0.1.0.pre6 spec/dummy/db/migrate/124_create_bookstores.rb
enju_purchase_request-0.1.0.pre5 spec/dummy/db/migrate/124_create_bookstores.rb
enju_purchase_request-0.1.0.pre4 spec/dummy/db/migrate/124_create_bookstores.rb
enju_purchase_request-0.1.0.pre3 spec/dummy/db/migrate/124_create_bookstores.rb
enju_purchase_request-0.1.0.pre2 spec/dummy/db/migrate/124_create_bookstores.rb
enju_purchase_request-0.1.0.pre spec/dummy/db/migrate/124_create_bookstores.rb
enju_purchase_request-0.0.14 spec/dummy/db/migrate/124_create_bookstores.rb
enju_purchase_request-0.0.13 spec/dummy/db/migrate/124_create_bookstores.rb
enju_purchase_request-0.0.12 spec/dummy/db/migrate/124_create_bookstores.rb
enju_purchase_request-0.0.10 spec/dummy/db/migrate/124_create_bookstores.rb
enju_purchase_request-0.0.9 spec/dummy/db/migrate/124_create_bookstores.rb
enju_purchase_request-0.0.8 spec/dummy/db/migrate/124_create_bookstores.rb
enju_purchase_request-0.0.7 spec/dummy/db/migrate/124_create_bookstores.rb
enju_purchase_request-0.0.6 spec/dummy/db/migrate/124_create_bookstores.rb
enju_purchase_request-0.0.5 spec/dummy/db/migrate/124_create_bookstores.rb
enju_purchase_request-0.0.4 spec/dummy/db/migrate/124_create_bookstores.rb
enju_purchase_request-0.0.3 spec/dummy/db/migrate/124_create_bookstores.rb