mirror of
https://github.com/xbgmsharp/postgsail.git
synced 2025-09-17 19:27:49 +00:00
Update test to match change from SERIAL to IDENTITY
This commit is contained in:
@@ -54,11 +54,9 @@ SELECT
|
|||||||
\echo 'Insert new api.moorages for badges'
|
\echo 'Insert new api.moorages for badges'
|
||||||
INSERT INTO api.moorages
|
INSERT INTO api.moorages
|
||||||
(id,"name",country,stay_code,stay_duration,reference_count,latitude,longitude,geog,home_flag,notes,vessel_id)
|
(id,"name",country,stay_code,stay_duration,reference_count,latitude,longitude,geog,home_flag,notes,vessel_id)
|
||||||
VALUES
|
OVERRIDING SYSTEM VALUE VALUES
|
||||||
(8,'Badge Mooring Pro',NULL,3,'11 days 00:39:56.418',1,NULL,NULL,NULL,false,'Badge Mooring Pro',current_setting('vessel.id', false)),
|
(8,'Badge Mooring Pro',NULL,3,'11 days 00:39:56.418',1,NULL,NULL,NULL,false,'Badge Mooring Pro',current_setting('vessel.id', false)),
|
||||||
(9,'Badge Anchormaster',NULL,2,'26 days 00:49:56.418',1,NULL,NULL,NULL,false,'Badge Anchormaster',current_setting('vessel.id', false));
|
(9,'Badge Anchormaster',NULL,2,'26 days 00:49:56.418',1,NULL,NULL,NULL,false,'Badge Anchormaster',current_setting('vessel.id', false));
|
||||||
-- Update seq
|
|
||||||
ALTER SEQUENCE api.moorages_id_seq RESTART 10;
|
|
||||||
|
|
||||||
\echo 'Set config'
|
\echo 'Set config'
|
||||||
SELECT set_config('user.email', 'demo+aava@openplotter.cloud', false);
|
SELECT set_config('user.email', 'demo+aava@openplotter.cloud', false);
|
||||||
|
Reference in New Issue
Block a user