abp 4.3.0 ef core migration empty up() and down() #9037
-
when i add model and use add-migration addModel , the migration file have empty up() and down() |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
You can refer to the Todu sample. https://github.com/abpframework/abp-samples/tree/master/TodoApp |
Beta Was this translation helpful? Give feedback.
-
i found this problem is i havent config in OnModelCreating,then abp dont think this is new change,when i configed table name in OnModelCreating ,then i got the new change up() and down() |
Beta Was this translation helpful? Give feedback.
-
but y in abp have this setting,is wired,because i just use ef core default setting that's wrong? or this is a bug? |
Beta Was this translation helpful? Give feedback.
You can refer to the Todu sample.
https://github.com/abpframework/abp-samples/tree/master/TodoApp