#✅ Migrations

21 messages · Page 1 of 1 (latest)

rigid questBOT
#

Thanks for posting! This is a community powered server, so you may or may not get an answer based on available help and expertise. To increase your chances of somebody being able to help you, please help us help you making sure you:

  • Adding an explanation of exactly what you're trying to achieve.
  • Adding any and all related code or previous attempts.
  • Describing the exact issue or error you are facing.
  • Posting any screenshots if applicable.
  • Reading through https://stackoverflow.com/help/how-to-ask.

When you're done with this thread, please close it. Thanks! ✨

(If you have a support agreement and need help, please contact the core team via email.)

primal fossil
#

partly, roles & users are for example not included

#

only the collections/fields/relations are

lunar portal
#

@primal fossil and how can I get a real migration on directus?

primal fossil
#

what kind of migration are you looking for?
just a duplication or?

lunar portal
#

I just want to create migrations when I do a change on the database

#

To apply it on the server database

#

@primal fossil

primal fossil
#

There is no support for that rn

lunar portal
#

Okay thanks you! @primal fossil

supple sky
#

Is the extensions/migrations folder not what you want? @lunar portal

lunar portal
#

And how I create the migration @supple sky ?

supple sky
#

You can take a reference to it, and place to <extension_path>/migrations

lunar portal
#

Do I have to write migrations manually?

#

@supple sky

primal fossil
#

please stop pinging people every 5 minutes 😂
they wont respond faster, most people here are volunteering so they respond at their own pace

lunar portal
#

I dont know if that notify the people who write in this

#

For this reason I mention them

supple sky
#

Oh sorry, I think migration will not solved your problem. Because if you want add new column to a collection then you need to register it to the "directus_fields" collection

rigid questBOT
#

✅ Migrations