Skip to content

Conversation

@iamsumit
Copy link

Currently, there is no support if we want to set a default value to a column which has reference to another table. Consider, we want to truncate the user table except the uid 0 and 1 and we want to replace the node's author to uid 1.

I have created a solution for it.

@iamsumit iamsumit force-pushed the sanitize-tables-default branch from de44e6b to 2c756e7 Compare March 11, 2023 07:30
@iamsumit
Copy link
Author

@gmemstr I have rebased the PR in case you think this is an interesting feature to have.

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 this pull request may close these issues.

1 participant