Sha256: e98c9cee61de0afffa9699b1e2c5988c08582f81432ea8ee575a55dc531810d7

Contents?: true

Size: 214 Bytes

Versions: 61

Compression:

Stored size: 214 Bytes

Contents

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

61 entries across 61 versions & 1 rubygems

Version Path
mobile_workflow-0.10.2 lib/generators/mobile_workflow/install/templates/create_users.rb
mobile_workflow-0.10.1 lib/generators/mobile_workflow/install/templates/create_users.rb
mobile_workflow-0.10.0 lib/generators/mobile_workflow/install/templates/create_users.rb
mobile_workflow-0.9.0 lib/generators/mobile_workflow/install/templates/create_users.rb
mobile_workflow-0.8.9 lib/generators/mobile_workflow/install/templates/create_users.rb
mobile_workflow-0.7.9 lib/generators/mobile_workflow/install/templates/create_users.rb
mobile_workflow-0.7.8 lib/generators/mobile_workflow/install/templates/create_users.rb
mobile_workflow-0.7.7 lib/generators/mobile_workflow/install/templates/create_users.rb
mobile_workflow-0.7.6 lib/generators/mobile_workflow/install/templates/create_users.rb
mobile_workflow-0.7.5 lib/generators/mobile_workflow/install/templates/create_users.rb
mobile_workflow-0.7.4 lib/generators/mobile_workflow/install/templates/create_users.rb
mobile_workflow-0.7.3 lib/generators/mobile_workflow/install/templates/create_users.rb
mobile_workflow-0.7.2 lib/generators/mobile_workflow/install/templates/create_users.rb
mobile_workflow-0.7.1 lib/generators/mobile_workflow/install/templates/create_users.rb
mobile_workflow-0.7.0 lib/generators/mobile_workflow/install/templates/create_users.rb
mobile_workflow-0.6.31 lib/generators/mobile_workflow/install/templates/create_users.rb
mobile_workflow-0.6.30 lib/generators/mobile_workflow/install/templates/create_users.rb
mobile_workflow-0.6.29 lib/generators/mobile_workflow/install/templates/create_users.rb
mobile_workflow-0.6.28 lib/generators/mobile_workflow/install/templates/create_users.rb
mobile_workflow-0.6.27 lib/generators/mobile_workflow/install/templates/create_users.rb