summaryrefslogtreecommitdiff
path: root/db/migrate/20220314184009_init_schema.rb
blob: 97027f8a9e46afcc3825b7d5facf32300cdbcd97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class InitSchema < Gitlab::Database::Migration[1.0]
  DOWNTIME = false

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

  def down
    raise ActiveRecord::IrreversibleMigration, "The initial migration is not able to be reverted."
  end
end