polivalente 0.3.2 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c49bc9f210d36732fd0777e007a3cb59f1a1a090458f47d87504633be64f8807
4
- data.tar.gz: 578f0b924b41979a3898d8db8c912e0f8a83ff3e1654f49f98773500b0b15958
3
+ metadata.gz: 55ce917df3ed0705a4fee15d90e46ed49968d603b0345169248eb839b6f2b5d1
4
+ data.tar.gz: c27b1c1ccd2252a77574802618ea0e1ef796b09b40bd992908b7a114ec4b4d46
5
5
  SHA512:
6
- metadata.gz: 0e4fdb006d74f9bc24936aa8d8a5c057b676ad5d68abbb8ecff0c3811e55335d846d154b9f166ed0e19c5c76ec109491feae5c2210682ef5639cec60b2ef65f6
7
- data.tar.gz: 67db8fb18cf31aa2cf6f95b13b23d089ae7619acae97020a96bd854133bedd909dd76a3b36f4399d9e89a8e1833f0e0a067dd1e314732b4093f7d20beed85e6d
6
+ metadata.gz: 3d9bc8fc6774a833c6ecb8c3da88bc0b6afd155bfd5a19887569963945a0d6944b791429a5ad0610c58b7bf2d54a906f63582509f44e254fbe480f103c6b09ff
7
+ data.tar.gz: 0fe5a86a732c6857dea84f17614dc4431e69e1ff31f3be5ca0d1794192695b8fe24cbec6a2736743a5a5978317d05c2fdad15a42dcf72ebf006a8cd130d50feb
@@ -1,10 +1,10 @@
1
1
  class CreateUsers < ActiveRecord::Migration[7.0]
2
2
  def change
3
3
  create_table :users do |t|
4
- t.string :first_name, null: false, index: true
5
- t.string :last_name, null: false, index: true
6
- t.boolean :is_admin, null: false, index: true, default: false
7
- t.boolean :is_verified, null: false, index: true, default: false
4
+ t.string :first_name, null: false, index: true
5
+ t.string :last_name, null: false, index: true
6
+ t.boolean :is_admin, null: false, index: true, default: false
7
+ t.boolean :is_verified, null: false, index: true, default: false
8
8
 
9
9
  ## Devise::DatabaseAuthenticatable
10
10
  t.string :email, null: false, default: "", index: { unique: true }
@@ -25,9 +25,10 @@ class CreateUsers < ActiveRecord::Migration[7.0]
25
25
  t.string :last_sign_in_ip
26
26
 
27
27
  ## Devise::Confirmable
28
- t.string :confirmation_token, unique: true
28
+ t.string :confirmation_token, index: { unique: true }
29
29
  t.datetime :confirmed_at
30
30
  t.datetime :confirmation_sent_at
31
+ t.string :unconfirmed_email # Only if using reconfirmable
31
32
 
32
33
  ## Devise::Lockable
33
34
  t.integer :failed_attempts, default: 0, null: false
@@ -1,3 +1,3 @@
1
1
  module Polivalente
2
- VERSION = "0.3.2"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polivalente
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leo Neto