changed contract boilerplate type
This commit is contained in:
		
							parent
							
								
									833251b03b
								
							
						
					
					
						commit
						917b9a8347
					
				@ -0,0 +1,9 @@
 | 
			
		||||
class ChangeContractBoilerplateType < ActiveRecord::Migration
 | 
			
		||||
  def self.up
 | 
			
		||||
    change_column :contracts, :boilerplate, :text
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  def self.down
 | 
			
		||||
    change_column :contracts, :boilerplate, :string
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
@ -9,17 +9,17 @@
 | 
			
		||||
#
 | 
			
		||||
# It's strongly recommended to check this file into your version control system.
 | 
			
		||||
 | 
			
		||||
ActiveRecord::Schema.define(:version => 20110928083830) do
 | 
			
		||||
ActiveRecord::Schema.define(:version => 20111104074044) do
 | 
			
		||||
 | 
			
		||||
  create_table "contract_templates", :force => true do |t|
 | 
			
		||||
    t.string   "name"
 | 
			
		||||
    t.string   "boilerplate"
 | 
			
		||||
    t.text     "boilerplate", :limit => 255
 | 
			
		||||
    t.datetime "created_at"
 | 
			
		||||
    t.datetime "updated_at"
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  create_table "contracts", :force => true do |t|
 | 
			
		||||
    t.string   "boilerplate"
 | 
			
		||||
    t.text     "boilerplate", :limit => 255
 | 
			
		||||
    t.binary   "signature"
 | 
			
		||||
    t.string   "signinghash"
 | 
			
		||||
    t.datetime "datesigned"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user