Sha256: 76aa2f01abd648980eefd5e7c846b4d135533e33a2cb79141d0f76048d07096e
Contents?: true
Size: 1.16 KB
Versions: 2
Compression:
Stored size: 1.16 KB
Contents
# encoding: UTF-8 ActiveRecord::Schema.define(:version => 0) do create_table "tags", :force => true do |t| t.string "name" t.string "title" t.integer "parent_id" t.datetime "created_at" t.datetime "updated_at" end create_table "tag_hierarchies", :id => false, :force => true do |t| t.integer "ancestor_id", :null => false t.integer "descendant_id", :null => false t.integer "generations", :null => false end create_table "destroyed_tags", :force => true do |t| t.string "name" end add_index :tag_hierarchies, [:ancestor_id, :descendant_id], :unique => true add_index :tag_hierarchies, [:descendant_id] create_table "users", :force => true do |t| t.string "email" t.integer "referrer_id" t.datetime "created_at" t.datetime "updated_at" end create_table "referral_hierarchies", :id => false, :force => true do |t| t.integer "ancestor_id", :null => false t.integer "descendant_id", :null => false t.integer "generations", :null => false end add_index :referral_hierarchies, [:ancestor_id, :descendant_id], :unique => true add_index :referral_hierarchies, [:descendant_id] end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
closure_tree-2.0.0 | spec/db/schema.rb |
closure_tree-2.0.0.beta1 | spec/db/schema.rb |