foodsoft/vendor/plugins/acts_as_ordered/test/schema.rb
2009-01-06 11:49:19 +01:00

21 lines
560 B
Ruby

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