debian-mirror-gitlab/db/migrate/20210301200959_init_schema.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
271 B
Ruby
Raw Normal View History

2019-09-30 21:07:59 +05:30
# frozen_string_literal: true
2020-06-23 00:09:42 +05:30
class InitSchema < ActiveRecord::Migration[6.0]
2019-09-30 21:07:59 +05:30
DOWNTIME = false
def up
2021-11-18 22:05:49 +05:30
execute(IO.read("db/init_structure.sql"))
2019-09-30 21:07:59 +05:30
end
def down
raise ActiveRecord::IrreversibleMigration, "The initial migration is not revertable"
end
end