Sha256: 467903894ed5eaf8a91fc8ca4b15b343a28d0d81644c18b4b8db8152d2ed19ac
Contents?: true
Size: 981 Bytes
Versions: 2
Compression:
Stored size: 981 Bytes
Contents
ActiveRecord::Schema.define :version => 0 do create_table :users, :force => true do |t| t.string :name end create_table :items, :force => true do |t| t.string :title t.integer :my_counter t.datetime :open_at end # acts-as-taggable-on # https://github.com/mbleigh/acts-as-taggable-on/blob/6e1837762f0d60edc9b6c2d92b5a9435f404173f/spec/internal/db/schema.rb create_table :tags, force: true do |t| t.string :name t.integer :taggings_count, default: 0 t.string :type end add_index 'tags', ['name'], name: 'index_tags_on_name', unique: true create_table :taggings, force: true do |t| t.references :tag t.references :taggable, polymorphic: true t.references :tagger, polymorphic: true t.string :context, limit: 128 t.datetime :created_at end add_index 'taggings', ['tag_id', 'taggable_id', 'taggable_type', 'context', 'tagger_id', 'tagger_type'], unique: true, name: 'taggings_idx' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
log_book-0.8.5 | test/schema.rb |
log_book-0.8.3 | test/schema.rb |