add bypass_email_login_token to instructeur
This commit is contained in:
parent
2fc0ceb884
commit
cd6cb99c3c
3 changed files with 14 additions and 6 deletions
|
@ -3,6 +3,7 @@
|
|||
# Table name: instructeurs
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# bypass_email_login_token :boolean default(FALSE), not null
|
||||
# encrypted_login_token :text
|
||||
# login_token_created_at :datetime
|
||||
# created_at :datetime
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
class AddBypassEmailLoginTokenColumnToInstructeur < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
# This may take a while if running on Postgres < 11
|
||||
add_column :instructeurs, :bypass_email_login_token, :boolean, default: false, null: false
|
||||
end
|
||||
end
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2021_04_09_075105) do
|
||||
ActiveRecord::Schema.define(version: 2021_04_09_130604) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -459,6 +459,7 @@ ActiveRecord::Schema.define(version: 2021_04_09_075105) do
|
|||
t.datetime "updated_at"
|
||||
t.text "encrypted_login_token"
|
||||
t.datetime "login_token_created_at"
|
||||
t.boolean "bypass_email_login_token", default: false, null: false
|
||||
end
|
||||
|
||||
create_table "invites", id: :serial, force: :cascade do |t|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue