Sha256: 107ff49893c46cd2582d1ad02aac717fdb7c3d997d9ed268dc3a58a2d76951d9

Contents?: true

Size: 924 Bytes

Versions: 2

Compression:

Stored size: 924 Bytes

Contents

ActiveRecord::Schema.define do
  self.verbose = false

  create_table :users, :force => true do |t|
    t.integer :id
    t.string  :name
    t.string :email
    t.timestamps
  end

  create_table :posts, :force => true do |t|
    t.integer :id
    t.string  :title
    t.string :body
    t.timestamps
  end

  create_table :comments, :force => true do |t|
    t.integer :id
    t.integer :user_id
    t.integer :post_id
    t.string  :body
    t.timestamps
  end

  create_table :connections, :force => true do |t|
    t.integer :subscriber_id
    t.string  :subscriber_type
    t.integer :publisher_id
    t.string  :publisher_type
    t.timestamps
  end

  create_table :activity_items, :force => true do |t|
    t.integer :performer_id
    t.string  :performer_type

    t.string  :event

    t.integer :target_id
    t.string  :target_type

    t.integer :owner_id
    t.string  :owner_type

    t.timestamps
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
chalk_dust-0.0.2 spec/support/schema.rb
chalk_dust-0.0.1 spec/support/schema.rb