Sha256: 5e01c8f957902ab1e1d5d154b447a96ecc4bfb76aff66b4ef04b2d4739818af4
Contents?: true
Size: 329 Bytes
Versions: 1
Compression:
Stored size: 329 Bytes
Contents
class CreateCitationsItems < ActiveRecord::Migration def self.up create_table :citations_items do |t| t.integer :citation_id, :null => false t.integer :item_id, :null => false t.string :item_type, :null => false t.timestamps end end def self.down drop_table :citations_items end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
has_many_polymorphs-2.11 | test/integration/app/db/migrate/009_create_citations_items.rb |