phalcon / migrations

Generate or migrate database changes via migrations.
https://docs.phalcon.io/latest/en/db-migrations
BSD 3-Clause "New" or "Revised" License
28 stars 23 forks source link

[FEATURE] In migration generation , add const table name instead of string in morphTable #107

Open yassinrais opened 3 years ago

yassinrais commented 3 years ago

It will be good if its generate a const name of table instead of puting it directly at the morphTable because

  1. A migrate file generated for unique table
  2. This table name will be used many time in up() down() morh()

🐱‍🏍