Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save carlcrott/4075225 to your computer and use it in GitHub Desktop.
Save carlcrott/4075225 to your computer and use it in GitHub Desktop.
class RenameModelsToSimulationModels < ActiveRecord::Migration
def self.up
rename_table :models, :simulationmodels
end
def self.down
rename_table :simulationmodels, :models
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment