foodsoft/vendor/plugins/acts_as_ordered/test/schema.rb

22 lines
560 B
Ruby
Raw Normal View History

2009-01-06 11:49:19 +01:00
ActiveRecord::Schema.define :version => 0 do
create_table :cartoons, :force => true do |t|
t.column :first_name, :string
t.column :last_name, :string
end
create_table :categories, :force => true do |t|
t.column :name, :string
end
create_table :projects, :force => true do |t|
t.column :category_id, :integer
t.column :name, :string
t.column :description, :string
end
create_table :documents, :force => true do |t|
t.column :title, :string
t.column :type, :string
end
end