diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2022-10-04 13:30:58 +0100 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2022-10-04 13:34:01 +0100 |
| commit | ac6b57f18394da7f0e0722a28afbaddc38e67e9c (patch) | |
| tree | 94360e41f09a615c680d29897cafcb328f1fe51b /app/Schema/Migration44.php | |
| parent | 8e9b0f08ab97dfe8495a9dcdfeaf778cbdbfd90b (diff) | |
| download | webtrees-ac6b57f18394da7f0e0722a28afbaddc38e67e9c.tar.gz webtrees-ac6b57f18394da7f0e0722a28afbaddc38e67e9c.tar.bz2 webtrees-ac6b57f18394da7f0e0722a28afbaddc38e67e9c.zip | |
Fix: #4569 - SQL-Server uses non-standard syntax for SUBSTRING()
Diffstat (limited to 'app/Schema/Migration44.php')
| -rw-r--r-- | app/Schema/Migration44.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Schema/Migration44.php b/app/Schema/Migration44.php index 4dd6366edd..fe77215085 100644 --- a/app/Schema/Migration44.php +++ b/app/Schema/Migration44.php @@ -102,7 +102,7 @@ class Migration44 implements MigrationInterface DB::table('placelocation') ->update([ - 'pl_place' => new Expression('SUBSTR(pl_place, 1, 120)'), + 'pl_place' => new Expression('SUBSTRING(pl_place, 1, 120)'), ]); // The lack of unique key constraints means that there may be duplicates... |
