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/20130807084708_create_messa...

18 lines
741 B

class CreateMessageJournals < ActiveRecord::Migration
def change
create_table :message_journals do |t|
t.integer :journal_id, :null => false
t.integer :board_id, :null => false
t.integer :parent_id
t.string :subject, :default => "", :null => false
t.text :content
t.integer :author_id
t.integer :replies_count, :default => 0, :null => false
t.integer :last_reply_id
t.datetime :created_on, :null => false
t.datetime :updated_on, :null => false
t.boolean :locked, :default => false
t.integer :sticky, :default => 0
end
end
end