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

fix: team_label nullable #157

Merged
merged 1 commit into from
Mar 24, 2024
Merged

fix: team_label nullable #157

merged 1 commit into from
Mar 24, 2024

Conversation

xiangmy21
Copy link
Contributor

尝试直接修改了一下up.sql文件
GPT knowledge:
在Hasura Migrations中,up.sql 和 down.sql 是用于描述数据库架构更改的SQL文件。

up.sql 文件:这个文件包含了应用某个特定迁移所需要的SQL命令。例如,如果你的迁移是用于添加一个新的表,那么 up.sql 文件就会包含创建那个新表的SQL命令。

down.sql 文件:这个文件包含了撤销 up.sql 中更改的SQL命令。它是 up.sql 的反操作。例如,如果 up.sql 是用于创建一个新的表,那么 down.sql 就应该包含删除那个新表的SQL命令。

Hasura Migrations使用这两个文件来确保数据库架构的更改可以被准确地应用和撤销。当你运行一个迁移时,Hasura会执行 up.sql 中的命令。如果你需要撤销那个迁移,Hasura则会执行 down.sql 中的命令。

@xiangmy21 xiangmy21 merged commit 07c6f40 into eesast:master Mar 24, 2024
3 checks passed
@xiangmy21 xiangmy21 deleted the dev branch March 24, 2024 16:33
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