Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: import no #324

Closed
adrienaury opened this issue Oct 15, 2024 · 0 comments · Fixed by #325
Closed

feat: import no #324

adrienaury opened this issue Oct 15, 2024 · 0 comments · Fixed by #325
Assignees

Comments

@adrienaury
Copy link
Member

adrienaury commented Oct 15, 2024

Use case

As a LINO user, I want to export primary keys with the pull command, but I don't want the push command to update the primary key (just use it for update clause).

Solution

Tag column as import: no in the tables.yaml file :

version: v1
tables:
  - name: "TABLE"
    keys:
      - "ID1"
      - "ID2"
    columns:
      - name: "ID1"
        import: "no"
      - name: "ID2"
        import: "no"
@adrienaury adrienaury self-assigned this Oct 21, 2024
@adrienaury adrienaury linked a pull request Oct 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant