Qovery / Replibyte

Seed your development database with real data ⚡️
https://www.replibyte.com
GNU General Public License v3.0
4.17k stars 129 forks source link

Ignore tables #250

Open janrito opened 1 year ago

janrito commented 1 year ago

Transformers are great for some use-cases, but it would be nice to be able to just ignore the data in some tables. For example, auth tokens

xMunch commented 1 year ago

There does seem to be a skip options you can apply for this

source:
  connection_uri: $DATABASE_URL
  skip:
    - database: public
      table: auth_tokens

Edit: Ahh... After looking this seems to ignore creation as well which I suppose you would want to keep.

Perhaps they could add an additional options such as

source:
  connection_uri: $DATABASE_URL
  skip:
    - database: public
      table: auth_tokens
      skip_options:
        creation: false
        alteration: false