Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20210301200959_init_schema.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: df68927d79ac80b12f420ed93cfd4f7115a30f14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class InitSchema < ActiveRecord::Migration[6.0]
  DOWNTIME = false

  def up
    execute(IO.read("db/init_structure.sql"))
  end

  def down
    raise ActiveRecord::IrreversibleMigration, "The initial migration is not revertable"
  end
end