Mercurial > hg > soundsoftware-site
view .svn/pristine/e7/e7f59d38bb10065e83d125e940b355005f481782.svn-base @ 985:acaa61dde68b bug_522
Allow file attachment to wrap to avoid extra-wide text field
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Fri, 26 Oct 2012 17:18:52 +0100 |
parents | cbb26bc654de |
children |
line wrap: on
line source
class CreateQueries < ActiveRecord::Migration def self.up create_table :queries, :force => true do |t| t.column "project_id", :integer t.column "name", :string, :default => "", :null => false t.column "filters", :text t.column "user_id", :integer, :default => 0, :null => false t.column "is_public", :boolean, :default => false, :null => false end end def self.down drop_table :queries end end