summaryrefslogtreecommitdiff
path: root/db/migrate/20181228175414_init_schema.rb
blob: df68927d79ac80b12f420ed93cfd4f7115a30f14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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