upr.git  about / heads / tags
Upload Progress for Rack
blob 101deeca92568a251c4ee087c085672f7992e343 372 bytes (raw)
$ git show HEAD:examples/rails_app-2.3.4/db/migrate/19700000000000_add_upr_status.rb	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 
class AddUprStatus < ActiveRecord::Migration
  def self.up
    create_table :upr_statuses do |t|
      t.column :upid, :string, :null => false, :unique => true
      t.column :time, :integer, :null => false
      t.column :seen, :integer, :null => false
      t.column :length, :integer, :null => true
    end
  end

  def self.down
    drop_table :upr_statuses
  end
end

git clone https://yhbt.net/upr.git