Sha256: 7ef15ec7bef1a645ccf220c341a20475a0260d9b24fbeb402d0b547b0332eb83
Contents?: true
Size: 732 Bytes
Versions: 6
Compression:
Stored size: 732 Bytes
Contents
#--- # Excerpted from "Scripted GUI Testing With Ruby", # published by The Pragmatic Bookshelf. # Copyrights apply to this code. It may not be used to create training material, # courses, books, articles, and the like. Contact us if you are in doubt. # We make no guarantees that this code is fit for any purpose. # Visit http://www.pragmaticprogrammer.com/titles/idgtr for more book information. #--- class CreateParties < ActiveRecord::Migration def self.up create_table :parties do |t| t.string :name t.text :description t.text :location t.datetime :begins_at t.datetime :ends_at t.string :permalink t.timestamps end end def self.down drop_table :parties end end
Version data entries
6 entries across 6 versions & 1 rubygems