hicknhack-software/rails-disco

View on GitHub
active_projection/db/migrate/01_create_projections.rb

Summary

Maintainability
A
0 mins
Test Coverage
class CreateProjections < ActiveRecord::Migration
  def change
    create_table :projections do |t|
      t.string :class_name
      t.integer :last_id, default: 0
      t.boolean :solid, default: true
    end
    add_index :projections, :class_name
  end
end