Sha256: fb60e1d1eb10c9d2f34ac3e52c0f047088f94a5f02afd06966b714ca8901be2a

Contents?: true

Size: 1.7 KB

Versions: 2

Compression:

Stored size: 1.7 KB

Contents

# encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 20_160_212_134_222) do
  create_table 'ecm_tags_taggings', force: :cascade do |t|
    t.integer  'tag_id'
    t.integer  'taggable_id'
    t.string   'taggable_type'
    t.integer  'tagger_id'
    t.string   'tagger_type'
    t.string   'context', limit: 128
    t.datetime 'created_at'
  end

  add_index 'ecm_tags_taggings', %w(tag_id taggable_id taggable_type context tagger_id tagger_type), name: 'taggings_idx', unique: true
  add_index 'ecm_tags_taggings', %w(taggable_id taggable_type context), name: 'index_taggings_on_taggable_id_and_taggable_type_and_context'

  create_table 'ecm_tags_tags', force: :cascade do |t|
    t.string  'name'
    t.integer 'taggings_count', default: 0
  end

  add_index 'ecm_tags_tags', ['name'], name: 'index_tags_on_name', unique: true

  create_table 'posts', force: :cascade do |t|
    t.string   'title'
    t.text     'body'
    t.datetime 'created_at', null: false
    t.datetime 'updated_at', null: false
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ecm_tags-2.2.1 spec/dummy/db/schema.rb
ecm_tags-2.2.0 spec/dummy/db/schema.rb