mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-17 07:04:36 +00:00
Migration to make password_resets.ip_address_redemption nullable
This commit is contained in:
1 parent
e14440ba02
commit
4c8f14d4d5
3 files changed
+13
-1
No files matched your search
+6
@@ -0,0 +1,6 @@
|
||||
-- noinspection SqlDialectInspectionForFile
|
||||
-- noinspection SqlNoDataSourceInspectionForFile
|
||||
-- noinspection SqlResolveForFile
|
||||
|
||||
ALTER TABLE password_resets
|
||||
MODIFY ip_address_redemption VARCHAR(40) NOT NULL;
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
-- noinspection SqlDialectInspectionForFile
|
||||
-- noinspection SqlNoDataSourceInspectionForFile
|
||||
-- noinspection SqlResolveForFile
|
||||
|
||||
ALTER TABLE password_resets
|
||||
MODIFY ip_address_redemption VARCHAR(40) DEFAULT NULL;
|
||||
@@ -42,7 +42,7 @@ CREATE TABLE password_resets (
|
||||
-- For abuse tracking.
|
||||
-- Wide enough for IPv4/6
|
||||
ip_address_creation VARCHAR(40) NOT NULL,
|
||||
ip_address_redemption VARCHAR(40) NOT NULL,
|
||||
ip_address_redemption VARCHAR(40) DEFAULT NULL,
|
||||
|
||||
-- Incremented with every update.
|
||||
version INT NOT NULL DEFAULT 0,
|
||||
|
||||
Reference in new issue
Block a user