aboutsummaryrefslogblamecommitdiffstats
path: root/activemodel/test/schema.rb
blob: 56b824d44541ed272296af9844f946f18e4f8312 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                             




                                         


                                                 

                     

     
ActiveRecord::Schema.define do
  create_table :topics, :force => true do |t|
    t.string  :title
    t.string  :author_name
    t.text    :content
    t.boolean :approved, :default => true
    t.string  :type
  end

  create_table :developers, :force => true do |t|
    t.string  :name
    t.float   :salary
  end
end