Show More
Commit Description:
- start adding testcases into database...
Commit Description:
- start adding testcases into database - fix download button for score report (grafted from aabe2eab4ee28760618043fc980bb5d5aaca5311)
File last commit:
Show/Diff file:
Action:
db/migrate/030_create_announcements.rb | 15 lines | 265 B | text/x-ruby | RubyLexer |
class CreateAnnouncements < ActiveRecord::Migration
def self.up
create_table :announcements do |t|
t.string :author
t.text :body
t.boolean :published
t.timestamps
end
end
def self.down
drop_table :announcements
end
end