Sha256: 2f716b36ab966550bf40aba7e46b797ffaf6bb8eca7f020edf8d6daf2f25769b

Contents?: true

Size: 267 Bytes

Versions: 6

Compression:

Stored size: 267 Bytes

Contents

class CreateProjects < ActiveRecord::Migration
  def self.up
    create_table :projects do |t|
      t.column :name, :string, :null => false
      t.column :objective, :string
      t.integer :some_id
    end
  end

  def self.down
    drop_table :projects
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
to_factory-2.1.0 spec/db/migrate/2_create_projects.rb
to_factory-2.0.0 spec/db/migrate/2_create_projects.rb
to_factory-0.2.1 spec/db/migrate/2_create_projects.rb
to_factory-0.2.0 spec/db/migrate/2_create_projects.rb
to_factory-0.1.1 spec/db/migrate/2_create_projects.rb
to_factory-0.1.0 spec/db/migrate/2_create_projects.rb