aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20180206203924_add_info_to_mini_environment.rb5
-rw-r--r--db/schema.rb3
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20180206203924_add_info_to_mini_environment.rb b/db/migrate/20180206203924_add_info_to_mini_environment.rb
new file mode 100644
index 0000000..a9e6db8
--- /dev/null
+++ b/db/migrate/20180206203924_add_info_to_mini_environment.rb
@@ -0,0 +1,5 @@
+class AddInfoToMiniEnvironment < ActiveRecord::Migration[5.1]
+ def change
+ add_column :mini_environments, :info, :jsonb
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index a20083e..39cc82c 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20180128125638) do
+ActiveRecord::Schema.define(version: 20180206203924) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -26,6 +26,7 @@ ActiveRecord::Schema.define(version: 20180128125638) do
t.string "name"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
+ t.jsonb "info"
end
create_table "minienvironments", force: :cascade do |t|