13 lines
287 B
Ruby
13 lines
287 B
Ruby
# 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
|