class CreateGoogleFunctions

Public Class Methods

down() click to toggle source
# File lib/rails/generators/google/model/templates/create_google_functions.rb, line 13
def down
  drop_table :google_functions
end
up() click to toggle source
# File lib/rails/generators/google/model/templates/create_google_functions.rb, line 4
def up
  create_table :google_functions do |t|
    t.string :name, :limit => 255
    t.integer :version
    t.timestamp :next_updated_at
    t.timestamps
  end
end