Sha256: 08840c1b1e0ca2ec82c97b63ec2cb624d7c9645da94f8e99a96fd16c28e34459

Contents?: true

Size: 1.18 KB

Versions: 9

Compression:

Stored size: 1.18 KB

Contents

ActiveRecord::Schema.define do
  create_table 'addresses' do |t|
    t.integer 'addressable_id'
    t.string 'addressable_type'
    t.string 'street'
    t.string 'city'
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table 'buildings' do |t|
    t.string 'name'
    t.integer 'owner_id'
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table 'cars' do |t|
    t.integer 'person_id'
    t.string 'brand'
    t.string 'model'
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table 'contacts' do |t|
    t.integer 'contactable_id'
    t.string 'contactable_type'
    t.string 'first_name'
    t.string 'last_name'
    t.date 'birthday'
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table 'floors' do |t|
    t.integer 'number'
    t.integer 'building_id'
    t.integer 'tenant_id'
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table 'people' do |t|
    t.string 'first_name'
    t.string 'last_name'
    t.integer 'buildings_count', :null => false, :default => 0
    t.integer 'floors_count', :null => false, :default => 0
    t.datetime "created_at"
    t.datetime "updated_at"
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
active_scaffold-3.4.10 test/mock_app/db/schema.rb
active_scaffold-3.4.9 test/mock_app/db/schema.rb
active_scaffold-3.4.8 test/mock_app/db/schema.rb
active_scaffold-3.4.7 test/mock_app/db/schema.rb
active_scaffold-3.4.5 test/mock_app/db/schema.rb
active_scaffold-3.4.4 test/mock_app/db/schema.rb
active_scaffold-3.4.3 test/mock_app/db/schema.rb
active_scaffold-3.4.2 test/mock_app/db/schema.rb
active_scaffold-3.4.1 test/mock_app/db/schema.rb