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