debian-mirror-gitlab/db/migrate/20210301200959_init_schema.rb
2022-03-02 08:16:31 +05:30

13 lines
271 B
Ruby

# 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