Skip to content

Adding sanitize_tables_default option to set the default value for a column.#24

Open
iamsumit wants to merge 1 commit intogmemstr:masterfrom
iamsumit:sanitize-tables-default
Open

Adding sanitize_tables_default option to set the default value for a column.#24
iamsumit wants to merge 1 commit intogmemstr:masterfrom
iamsumit:sanitize-tables-default

Conversation

@iamsumit
Copy link
Copy Markdown

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
Copy Markdown
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