extended execution environments by a default file type that is used as the default for associated exercises' files

This commit is contained in:
Hauke Klement
2015-03-10 18:14:26 +01:00
parent 039c891364
commit 3ae749bfc5
12 changed files with 37 additions and 5 deletions

View File

@ -0,0 +1,5 @@
class AddFileTypeIdToExecutionEnvironments < ActiveRecord::Migration
def change
add_reference :execution_environments, :file_type
end
end

View File

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20150204080832) do
ActiveRecord::Schema.define(version: 20150310150712) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -45,6 +45,7 @@ ActiveRecord::Schema.define(version: 20150204080832) do
t.integer "user_id"
t.string "user_type"
t.integer "pool_size"
t.integer "file_type_id"
end
create_table "exercises", force: true do |t|