debian-mirror-gitlab/db/migrate/20210826171758_init_schema.rb
2023-04-23 21:23:45 +05:30

13 lines
283 B
Ruby

# frozen_string_literal: true
class InitSchema < ActiveRecord::Migration[6.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