Migration wiki page
DyegoCosta opened this issue · 2 comments
DyegoCosta commented
_Can we use the text bellow for the Migration wiki page? Any suggestion to improve it?_
You can use use the migration generator to create a new Sequel migration to modify your database schema.
Create a new migration like:
$ pliny-generate migration "add phone to artists"
created migration ./db/migrate/1438776880_add_phone_to_artists.rb
It will create an empty migration:
Sequel.migration do
up do
end
down do
end
end
You can edit the migration to suit your needs and then run it with:
$ rake db:migrate
Further reading:
pedro commented
YES! This looks like a really solid start to me 👍
Can you create the wiki page yourself? I checked the settings and it should be public, so feel free to go for it!
Thanks,