Sha256: 158291072d578967a658705dbf84611e3ca4509ac263f8a7d6609fc3cc4c5f3e

Contents?: true

Size: 212 Bytes

Versions: 4

Compression:

Stored size: 212 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def change
    create_table :users do |t|
      t.string :first_name
      t.string :last_name
      t.string :slug

      t.timestamps null: false
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slugs-4.0.0.3 test/dummy/db/migrate/20161016174020_create_users.rb
slugs-4.0.0.2 test/dummy/db/migrate/20161016174020_create_users.rb
slugs-4.0.0.1 test/dummy/db/migrate/20161016174020_create_users.rb
slugs-4.0.0.0 test/dummy/db/migrate/20161016174020_create_users.rb