Class: CreateGoogleFunctions
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateGoogleFunctions
- Defined in:
- lib/rails/generators/google/model/templates/create_google_functions.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
13 14 15 |
# File 'lib/rails/generators/google/model/templates/create_google_functions.rb', line 13 def down drop_table :google_functions end |
.up ⇒ Object
4 5 6 7 8 9 10 11 |
# 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. :next_updated_at t. end end |