Sha256: a51b7effd2c37e7aa9c63144023d6a8d8a90d41433654c709040a6de4dfd7950
Contents?: true
Size: 384 Bytes
Versions: 3
Compression:
Stored size: 384 Bytes
Contents
class JsdocCreateExamplesTable < ActiveRecord::Migration def self.up create_table :jsdoc_examples do |t| t.integer :example_for_id t.string :example_for_type t.text :code t.timestamps end add_index :jsdoc_examples, :example_for_id add_index :jsdoc_examples, :example_for_type end def self.down drop_table :jsdoc_examples end end
Version data entries
3 entries across 3 versions & 1 rubygems