mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-14 17:04:53 +00:00
693a1778d1
* postgres_driver: add ON CONFLICT DO NOTHING in the insert statement * test_driver_postgres: adapt test to ON CONFLICT DO NOTHING The insert does not fail when duplicate, it returns a positive response when doing 'put' of a duplicated row. The test is adapted so that we just check that the number of messages doesn't grow after trying to add a duplicated row.