Sha256: 2dc9b9f00b21d1744c92492fee0356289a4090defeee8b957000353877a9cefa

Contents?: true

Size: 504 Bytes

Versions: 3

Compression:

Stored size: 504 Bytes

Contents

class CreateAdminWebEvents < ActiveRecord::Migration
  def change
    create_table :admin_web_events do |t|
      t.string :title, :null => false
      t.datetime :start_date
      t.datetime :end_date
      t.text :description, :null => false
      t.string :street, :null => false
      t.string :number
      t.string :zipcode, :null => false
      t.string :neighborhood, :null => false
      t.string :city, :null => false
      t.string :state, :null => false

      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
web_admin-0.1.0 db/migrate/20141224221959_create_admin_web_events.rb
web_admin-0.0.2 db/migrate/20141224221959_create_admin_web_events.rb
web_admin-0.0.1 db/migrate/20141224221959_create_admin_web_events.rb