Class: CreateGmaps4railsTables

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/rails/generators/gmaps4rails/templates/migration.rb

Class Method Summary collapse

Class Method Details

.downObject



6
7
8
# File 'lib/rails/generators/gmaps4rails/templates/migration.rb', line 6

def self.down
  drop_table :gmaps4rails_widgets
end

.upObject



2
3
4
# File 'lib/rails/generators/gmaps4rails/templates/migration.rb', line 2

def self.up
  SCHEMA_AUTO_INSERTED_HERE
end