tracks/vendor/plugins/scenarios/testing/schema.rb
Simon Rozet b13df20630 Install the `scenarios' plugin and require it in spec_helper
It is IMO a great alternative to fixtures.
See http://github.com/aiwilliams/scenarios/tree/master and further commits
for more information.
2008-06-23 21:34:21 +02:00

31 lines
No EOL
731 B
Ruby

ActiveRecord::Schema.define do
create_table :people, :force => true do |t|
t.column :first_name, :string
t.column :last_name, :string
end
create_table :places, :force => true do |t|
t.column :name, :string
t.column :location, :string
end
create_table :things, :force => true do |t|
t.column :name, :string
t.column :description, :string
end
create_table :side_effecty_things, :force => true do |t|
end
create_table :models, :force => true do |t|
t.column :name, :string
t.column :description, :string
end
create_table :notes, :force => true do |t|
t.column :content, :string
t.column :created_at, :datetime
t.column :updated_at, :datetime
end
end