File: schema2.rb

package info (click to toggle)
ruby-activerecord-2.3 2.3.14-6
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,180 kB
  • sloc: ruby: 32,874; makefile: 7
file content (6 lines) | stat: -rw-r--r-- 151 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
ActiveRecord::Schema.define do

  Course.connection.create_table :courses, :force => true do |t|
    t.column :name, :string, :null => false
  end
end