OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/db/migrate/013_create_cost_queries.rb

21 lines
619 B

class CreateCostQueries < ActiveRecord::Migration
def self.up
create_table :cost_queries do |t|
t.references :user, :null => false
t.references :project
t.column :name, :string, :limit => 255, :null => false
t.column :filters, :text
t.column :group_by, :text
t.column :granularity, :string
t.column :is_public, :boolean, :default => false, :null => false
t.column :created_on, :timestamp, :null => false
t.column :updated_on, :timestamp, :null => false
end
end
def self.down
drop_table :cost_queries
end
end