Sha256: 8bae7aec3fd0841977e1d4d27bfcdb8306441406f675a2a790cb777797b2d1b3

Contents?: true

Size: 417 Bytes

Versions: 2

Compression:

Stored size: 417 Bytes

Contents

class CreateBookstores < ActiveRecord::Migration[5.0]
  def change
    create_table :bookstores, id: :uuid, default: 'gen_random_uuid()' do |t|
      t.string :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
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
enju_seed-0.3.0.beta.4 spec/dummy/db/migrate/124_create_bookstores.rb
enju_seed-0.3.0.beta.3 spec/dummy/db/migrate/124_create_bookstores.rb