<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: dropping fields in postgres db in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/dropping-fields-in-postgres-db/qaa-p/14296283#M4934073</link>
    <description>Hi! I faced the same problem, tell me how you solved this issue?</description>
    <pubDate>Tue, 23 Dec 2025 13:53:56 GMT</pubDate>
    <dc:creator>mago_med</dc:creator>
    <dc:date>2025-12-23T13:53:56Z</dc:date>
    <item>
      <title>dropping fields in postgres db</title>
      <link>https://community.sap.com/t5/technology-q-a/dropping-fields-in-postgres-db/qaq-p/13977587</link>
      <description>&lt;P&gt;Hello Experts&lt;/P&gt;&lt;P&gt;I am building a project using SAP CAP and database is postgres. I am getting error 'Dropping fields is not allowed' when i&amp;nbsp; am trying to remove a field from the table. Is there any to force delete using cds deploy ?&lt;/P&gt;&lt;P&gt;I have tried to delete the column using SQL ( column gets deleted) but still deploy error, Probably it is storing the info in csn.&lt;/P&gt;&lt;P&gt;Error: &lt;STRONG&gt;CDS compilation failed (@sap/cds-compiler v5.6.0)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;db/schema.cds:10:8: Error: Dropping elements is not supported (in entity:“com.cades.Invoices”/element:“AccessKey1”)&lt;/STRONG&gt;&lt;BR /&gt;at throwWithAnyError (/home/syed-imran/myfolder/monitor-ts/node_modules/@sap/cds-compiler/lib/base/messages.js:585:13)&lt;BR /&gt;at Proxy.toSqlDdl (/home/syed-imran/myfolder/monitor-ts/node_modules/@sap/cds-compiler/lib/render/toSql.js:283:3)&lt;BR /&gt;at sqlMigration (/home/syed-imran/myfolder/monitor-ts/node_modules/@sap/cds-compiler/lib/api/main.js:594:13)&lt;BR /&gt;at Function.api [as migration] (/home/syed-imran/myfolder/monitor-ts/node_modules/@sap/cds-compiler/lib/api/main.js:1154:22)&lt;BR /&gt;at Function.migration (/home/syed-imran/myfolder/monitor-ts/node_modules/@sap/cds-compiler/lib/main.js:144:41)&lt;BR /&gt;at Object.deltaSql (/home/syed-imran/myfolder/monitor-ts/node_modules/@sap/cds/lib/compile/cdsc.js:162:53)&lt;BR /&gt;at Function.cds_compile_to_deltaSql [as delta] (/home/syed-imran/myfolder/monitor-ts/node_modules/@sap/cds/lib/compile/to/sql.js:38:59)&lt;BR /&gt;at deploy.schema (/home/syed-imran/myfolder/monitor-ts/node_modules/@sap/cds/lib/dbs/cds-deploy.js:75:75)&lt;BR /&gt;at process.processTicksAndRejections (node:internal/process/task_queues:95:5)&lt;BR /&gt;at async /home/syed-imran/myfolder/monitor-ts/node_modules/@sap/cds/lib/dbs/cds-deploy.js:39:19&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 11:01:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dropping-fields-in-postgres-db/qaq-p/13977587</guid>
      <dc:creator>syedimran</dc:creator>
      <dc:date>2025-01-06T11:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: dropping fields in postgres db</title>
      <link>https://community.sap.com/t5/technology-q-a/dropping-fields-in-postgres-db/qaa-p/14296283#M4934073</link>
      <description>Hi! I faced the same problem, tell me how you solved this issue?</description>
      <pubDate>Tue, 23 Dec 2025 13:53:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dropping-fields-in-postgres-db/qaa-p/14296283#M4934073</guid>
      <dc:creator>mago_med</dc:creator>
      <dc:date>2025-12-23T13:53:56Z</dc:date>
    </item>
  </channel>
</rss>

