Sha256: 784e0d14b3bd69e293f995e504b3666af3328c4b7532be63c133e427367f4857
Contents?: true
Size: 417 Bytes
Versions: 1
Compression:
Stored size: 417 Bytes
Contents
class CreateBookstores < ActiveRecord::Migration[5.1] 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
enju_seed-0.4.0.beta.1 | spec/dummy/db/migrate/124_create_bookstores.rb |