Skip to content

Commit

Permalink
logging: update migration script
Browse files Browse the repository at this point in the history
  • Loading branch information
anse1 committed May 3, 2018
1 parent 4fb15cc commit 1c0a3c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ AM_CPPFLAGS = $(BOOST_CPPFLAGS) $(LIBPQXX_CFLAGS) $(POSTGRESQL_CPPFLAGS) $(MONET
EXTRA_DIST = gitrev.h dump.hh expr.hh grammar.hh log.hh prod.hh \
random.hh relmodel.hh schema.hh impedance.hh known.txt known_re.txt log.sql \
README.org TODO.org ast.png logo.png dump.xsl util.hh sqlite.hh \
dut.hh postgres.hh monetdb.hh log-v1.0-to-v1.1.sql
dut.hh postgres.hh monetdb.hh log-v1.0-to-v1.2.sql

gitrev.h: $(HEADERS) $(SOURCES)
echo "#define GITREV \"$$(git describe --dirty --tags --always)\"" > $@
Expand Down
3 changes: 2 additions & 1 deletion log-v1.0-to-v1.1.sql → log-v1.0-to-v1.2.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
-- upgrade SQLsmith logging schema from 1.0 to 1.1
-- upgrade SQLsmith logging schema from 1.0 to 1.2

alter table stat add column impedance jsonb;
alter table instance add column seed text;
alter table error add column sqlstate text;

create or replace view impedance as
SELECT stat.id,
Expand Down

0 comments on commit 1c0a3c1

Please sign in to comment.