Sha256: b23da4e301751aed942968fbe180c5df5c7596227c4c542935aa724b6586e21a

Contents?: true

Size: 349 Bytes

Versions: 8

Compression:

Stored size: 349 Bytes

Contents

class CreateFormilyableForms < ActiveRecord::Migration
  def change

    create_table :formilyable_forms do |t|

      t.integer :form_id
      t.integer :formilyable_id
      t.string  :formilyable_type

      t.timestamps null: false
    end

    add_index :formilyable_forms, :form_id
    add_index :formilyable_forms, :formilyable_id

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
formily-0.0.5.6.5 lib/generators/formily/install/templates/create_formilyable_forms.rb
formily-0.0.5.6.4 lib/generators/formily/install/templates/create_formilyable_forms.rb
formily-0.0.5.6.3 lib/generators/formily/install/templates/create_formilyable_forms.rb
formily-0.0.5.6.2 lib/generators/formily/install/templates/create_formilyable_forms.rb
formily-0.0.5.6.1 lib/generators/formily/install/templates/create_formilyable_forms.rb
formily-0.0.5.6.0 lib/generators/formily/install/templates/create_formilyable_forms.rb
formily-0.0.5.5.9 lib/generators/formily/install/templates/create_formilyable_forms.rb
formily-0.0.5.5.7 lib/generators/formily/install/templates/create_formilyable_forms.rb