Sha256: 8a64e032b53e15dc7c02b40c2fdae13b9c7716dd76efea69afe55651f896129f
Contents?: true
Size: 627 Bytes
Versions: 1
Compression:
Stored size: 627 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 end # acts-as-taggable-on # https://github.com/mbleigh/acts-as-taggable-on/tree/master/db/migrate # create_table :tags do |t| t.string :name end create_table :taggings 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_column :tags, :taggings_count, :integer, default: 0 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
log_book-0.1.7 | test/schema.rb |