Sha256: 9789152b5d0b42ff4e84096d71fe13f57ae17a151a41eb5b7c37273633a20a41
Contents?: true
Size: 377 Bytes
Versions: 1
Compression:
Stored size: 377 Bytes
Contents
ActiveRecord::Schema.define :version => 0 do create_table :features do |t| t.references :featureable, :polymorphic => true t.string :title t.text :summary t.integer :position, :null => false t.string :category t.timestamps end add_index :features, [:featureable_type, :featureable_id] create_table :topics do |t| t.string :title t.text :summary end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
acts_as_featureable-0.0.2 | spec/extra/schema.rb |