Sha256: 00d683f2365900213a1bd45c4f638ce65218f94ae30282061a9b1c00bc0758ab

Contents?: true

Size: 1.89 KB

Versions: 1

Compression:

Stored size: 1.89 KB

Contents

ActiveRecord::Schema.define :version => 0 do
  create_table :tags, :force => true do |t|
    t.column :name, :string
  end

  create_table :tags_hierarchy, :force => true, :id => false do |t|
    t.column :tag_id, :integer
    t.column :child_id, :integer
  end

  create_table :tags_transitive_hierarchy, :force => true, :id => false do |t|
    t.column :tag_id, :integer
    t.column :child_id, :integer
  end

  create_table :tags_synonyms, :force => true, :id => false do |t|
    t.column :tag_id, :integer
    t.column :synonym_id, :integer
  end

  create_table :taggings, :force => true do |t|
    t.column :tag_id, :integer
    t.column :taggable_id, :integer
    t.column :taggable_type, :string
    t.column :created_at, :datetime
  end

  create_table :users, :force => true do |t|
    t.column :name, :string
  end

  create_table :posts, :force => true do |t|
    t.column :text, :text
    t.column :cached_tag_list, :string
    t.column :user_id, :integer
    t.column :type, :string
  end

  create_table :photos, :force => true do |t|
    t.column :title, :string
    t.column :user_id, :integer
  end

  create_table :videos, :force => true do |t|
    t.column :title, :string
    t.column :user_id, :integer
  end

  create_table :subscriptions, :force => true do |t|
    t.column :user_id, :integer
    t.column :magazine_id, :integer
  end

  create_table :subscriptions, :force => true do |t|
    t.column :user_id, :integer
    t.column :magazine_id, :integer
  end

  create_table :magazines, :force => true do |t|
    t.column :name, :string
  end

  create_table :categories, :force => true do |t|
    t.column :name, :string
  end

  create_table :categorisations, :force => true do |t|
    t.column :tag_id, :integer
    t.column :taggable_id, :integer
    t.column :taggable_type, :string
    t.column :created_at, :datetime
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
acts_as_20ggable-1.0.0 test/fixtures/schema.rb