title: Typeorm - Disable default creation of columns id, createdAt, updatedAt when entity is synced
body: <p>I am using typeorm with nest.js and I have a session entity like the below</p>
  <pre><code>import { Column, Entity, PrimaryColumn } from 'typeorm';
  @Entity('session')
  export class Session {
    @PrimaryColumn('varchar', { length: 255 })
    sid: string;
  
    @Column('jsonb')
    sess: JSON;
  
    @Column('timestamptz', { nullable: true })
    expire: string;
  }
  </code></pre>
  <p>Whenever I start the server I have enabled <code>synchronize: true</code> in the configuration.</p>
  <p>This is creating a table like the below, with id, createdAt, updatedAt being created by default even though not mentioned in the entity schema.</p>
  <p><a href="https://i.stack.imgur.com/tL7mu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tL7mu.png" alt="enter image description here" /></a></p>
  <p>How to disable this default creation of (id, createdAt, updatedAt)columns and restrict the table to be created with only the columns I have mentioned in the entity?</p>