Sha256: 1e07198e7893739c4141a664905cc8d4279d94aad1f2acc7c655cccc30f812fa

Contents?: true

Size: 240 Bytes

Versions: 2

Compression:

Stored size: 240 Bytes

Contents

class CreateForms < ActiveRecord::Migration
  def self.up
    create_table :forms, :force => true do |t|
      t.string :name, :model
      t.belongs_to :page
      t.timestamps
    end
  end

  def self.down
    drop_table :forms
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
forgeos_commerce-1.9.1.rc1 db/migrate/20110311111210_create_forms.rb
forgeos_commerce-1.9.0 db/migrate/20110311111210_create_forms.rb