Class: CreateSharedTasks

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

Instance Method Summary collapse

Instance Method Details

#changeObject



2
3
4
5
6
7
# File 'lib/generators/shared_tasks/templates/migration.rb', line 2

def change
  create_table :shared_tasks do |t|
    t.string :task
    t.timestamps
  end
end