Sha256: b4026c49d389e9aaaa882022cdb5e55ab49ed03aa062384007df2d40333fb87b

Contents?: true

Size: 245 Bytes

Versions: 5

Compression:

Stored size: 245 Bytes

Contents

# frozen_string_literal: true

class CreateUsers < ActiveRecord::Migration[6.0]
  def change
    create_table :users do |t|
      t.string :email
      t.string :password_digest

      t.timestamps
    end
    add_index :users, :email
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mobile_workflow-0.12.2 lib/generators/mobile_workflow/install/templates/create_users.rb
mobile_workflow-0.12.1 lib/generators/mobile_workflow/install/templates/create_users.rb
mobile_workflow-0.12.0 lib/generators/mobile_workflow/install/templates/create_users.rb
mobile_workflow-0.11.1 lib/generators/mobile_workflow/install/templates/create_users.rb
mobile_workflow-0.11.0 lib/generators/mobile_workflow/install/templates/create_users.rb