Sha256: c8f9f07db6b40086f8d7c04071da71dde05e5441ee3d137c111cfa84b21bd009
Contents?: true
Size: 512 Bytes
Versions: 18
Compression:
Stored size: 512 Bytes
Contents
# frozen_string_literal: true # Adding app_definitions db table class CreateAppInstances < ActiveRecord::Migration[5.2] def up create_table :app_instances do |t| t.string :name, :default => '', :null => false, :limit => 255, :unique => true t.column :app_definition_id, :integer, :null => false t.text :description t.text :hosts t.timestamps :null => true end add_foreign_key :app_instances, :app_definitions end def down drop_table :app_instances end end
Version data entries
18 entries across 18 versions & 1 rubygems