13 lines
241 B
Ruby
13 lines
241 B
Ruby
|
class CreateMissions < ActiveRecord::Migration
|
||
|
def change
|
||
|
create_table :missions do |t|
|
||
|
t.string :name
|
||
|
t.datetime :deadline
|
||
|
t.integer :priority
|
||
|
t.string :status
|
||
|
|
||
|
t.timestamps null: false
|
||
|
end
|
||
|
end
|
||
|
end
|