Answers for "rails run sql after migration"

0

run a specific migration rails

rake db:migrate:up VERSION=20090408054532
Posted by: Guest on May-13-2020
1

using SQL in rails migration

def change
  execute <<-SQL
    UPDATE table1
    SET column1 = "value"
  SQL
end
Posted by: Guest on January-14-2021

Code answers related to "rails run sql after migration"

Browse Popular Code Answers by Language