blob: 971a3e0e2db4737f446730728feb4e475472df21 (
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(File.read("db/init_structure.sql"))
end
def down
raise ActiveRecord::IrreversibleMigration, "The initial migration is not able to be reverted."
end
end
|