Sha256: aaed4cff0279e417af6f1b43d6554d8088d56b7339e668e282f3a118fefa4eff
Contents?: true
Size: 628 Bytes
Versions: 1
Compression:
Stored size: 628 Bytes
Contents
require 'active_record' require 'logger' ActiveRecord::Base.establish_connection(:adapter => 'sqlite3', :database => ':memory:') ActiveRecord::Base.logger = Logger.new(SPEC_ROOT.join('debug.log')) ActiveRecord::Migration.verbose = false ActiveRecord::Schema.define do create_table :projects, :force => true do |t| t.column :subject, :string t.column :summary, :text t.column :priority, :integer t.column :start_at, :date end create_table :tasks, :force => true do |t| t.column :name, :string t.column :description, :text t.column :project_id, :integer t.column :due_date, :date end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mapped_attributes-1.0.0 | test/support/schema.rb |