Sha256: fb2d02d8f6e4300d56f7c626979469e042b703a4112d4482f83557f8fcd32574

Contents?: true

Size: 233 Bytes

Versions: 1

Compression:

Stored size: 233 Bytes

Contents

class CreateModulos < ActiveRecord::Migration
  def change
  	create_table :modulos do |t|
  		t.string :nome
  		t.string :slug
  	end

  	create_table :patologias do |t|
  		t.belongs_to :modulo
  		t.string :nome
  	end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
omniauth-sabia-1.0.1 db/migrate/20140321140331_create_modulos.rb