diff --git a/src/DbLocalizationProvider.Storage.PostgreSQL/ResourceRepository.cs b/src/DbLocalizationProvider.Storage.PostgreSQL/ResourceRepository.cs index 20a40a41..baf6166a 100644 --- a/src/DbLocalizationProvider.Storage.PostgreSQL/ResourceRepository.cs +++ b/src/DbLocalizationProvider.Storage.PostgreSQL/ResourceRepository.cs @@ -372,7 +372,7 @@ public void InsertResource(LocalizationResource resource) conn.Open(); var cmd = new NpgsqlCommand( - @"INSERT INTO public.""LocalizationResources"" (""ResourceKey"", ""Author"", ""FromCode"", ""IsHidden"", ""IsModified"", ""ModificationDate"", ""Notes"") OUTPUT INSERTED.ID VALUES (@resourceKey, @author, @fromCode, @isHidden, @isModified, @modificationDate, @notes)", + @"INSERT INTO public.""LocalizationResources"" (""ResourceKey"", ""Author"", ""FromCode"", ""IsHidden"", ""IsModified"", ""ModificationDate"", ""Notes"") VALUES (@resourceKey, @author, @fromCode, @isHidden, @isModified, @modificationDate, @notes) RETURNING ""LocalizationResources"".""Id""", conn); cmd.Parameters.AddWithValue("resourceKey", resource.ResourceKey);