Test reversibility of migrations #220
@ -55,7 +55,7 @@ jobs:
|
||||
run: |
|
||||
echo ${#ALL_CHANGED_FILES[@]} migrations changed:
|
||||
for file in ${ALL_CHANGED_FILES}; do
|
||||
echo "$file was changed"
|
||||
echo "$file"
|
||||
done
|
||||
|
||||
bundle exec rake db:migrate:redo STEP=${#ALL_CHANGED_FILES[@]}
|
||||
@ -95,6 +95,7 @@ jobs:
|
||||
CopyrightString: '# Copyright (C) 2024 Manuel Bustillo\n\n'
|
||||
FileType: '.rb'
|
||||
Path: 'app/, config/, db/, spec/'
|
||||
IgnorePath: 'db/schema.rb'
|
||||
- uses: VinnyBabuManjaly/copyright-action@v1.0.0
|
||||
with:
|
||||
CopyrightString: '<%# Copyright (C) 2024 Manuel Bustillo %>\n\n'
|
||||
|
2
db/schema.rb
generated
2
db/schema.rb
generated
@ -1,5 +1,3 @@
|
||||
# Copyright (C) 2024 Manuel Bustillo
|
||||
|
||||
# This file is auto-generated from the current state of the database. Instead
|
||||
# of editing this file, please use the migrations feature of Active Record to
|
||||
# incrementally modify your database, and then regenerate this schema definition.
|
||||
|
Loading…
x
Reference in New Issue
Block a user