~ubuntu-branches/ubuntu/utopic/ruby-database-cleaner/utopic-proposed

« back to all changes in this revision

Viewing changes to spec/support/active_record/schema_setup.rb

  • Committer: Package Import Robot
  • Author(s): Pirate Praveen
  • Date: 2014-05-24 01:23:06 UTC
  • Revision ID: package-import@ubuntu.com-20140524012306-1nn3zh7s867f2gn9
Tags: upstream-1.2.0
ImportĀ upstreamĀ versionĀ 1.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
def load_schema
 
2
  ActiveRecord::Schema.define do
 
3
    create_table :users, :force => true do |t|
 
4
      t.integer :name
 
5
    end
 
6
  end
 
7
end
 
8
 
 
9
class ::User < ActiveRecord::Base
 
10
end