diff options
Diffstat (limited to 'db/migrate/20161031013926_create_container_image.rb')
-rw-r--r-- | db/migrate/20161031013926_create_container_image.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/db/migrate/20161031013926_create_container_image.rb b/db/migrate/20161031013926_create_container_image.rb new file mode 100644 index 00000000000..884c78880eb --- /dev/null +++ b/db/migrate/20161031013926_create_container_image.rb @@ -0,0 +1,16 @@ +# See http://doc.gitlab.com/ce/development/migration_style_guide.html +# for more information on how to write migrations for GitLab. + +class CreateContainerImage < ActiveRecord::Migration + include Gitlab::Database::MigrationHelpers + + # Set this constant to true if this migration requires downtime. + DOWNTIME = false + + def change + create_table :container_images do |t| + t.integer :project_id + t.string :name + end + end +end |