mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-27 02:28:50 +01:00
Add problem type
This commit is contained in:
10
db/migrate/20141130153941_create_problems.rb
Normal file
10
db/migrate/20141130153941_create_problems.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
class CreateProblems < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :problems do |t|
|
||||
t.string :title
|
||||
t.text :content
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user