开发者

MySQL: Can I Share enums?

开发者 https://www.devze.com 2022-12-22 12:02 出处:网络
I have 3 similar tables, that would all have the same enum type field. Is there a way I can just reuse a single enum instead of creating each (duplicate) enum? Aware of BNF/don\'t want to use it开发者

I have 3 similar tables, that would all have the same enum type field. Is there a way I can just reuse a single enum instead of creating each (duplicate) enum? Aware of BNF/don't want to use it开发者_开发知识库/small project.


No. You'll just have to keep track of this yourself. If it's something you change often, automate it.

0

精彩评论

暂无评论...
验证码 换一张
取 消