Sha256: f2b94eacd9632aab4d0914f7d95f9222f42b70e10b9123c00656aade947590ac
Contents?: true
Size: 445 Bytes
Versions: 2
Compression:
Stored size: 445 Bytes
Contents
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/environment' ActiveRecord::Schema.define do create_table "books", :force => true do |t| t.string :title t.text :description t.string :isbn end create_table "contributors", :force => true do |t| t.string :name t.string :role end create_table "books_contributors", :force => true do |t| t.integer :book_id t.integer :contributor_id end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
woahdae-consumer-0.8.1 | examples/active_record/migration.rb |
woahdae-consumer-0.8.2 | examples/active_record/migration.rb |