Skip to content

Commit

Permalink
setup documentation for 2.0.18, update encoding in test files
Browse files Browse the repository at this point in the history
  • Loading branch information
the4thdoctor committed Mar 31, 2022
1 parent 59ab5f1 commit 460a730
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@
# built documents.
#
# The short X.Y version.
version = u'2.0.17'
version = u'2.0.18'
# The full version, including alpha/beta/rc tags.
release = u'v2.0.17'
release = u'v2.0.18'

# The language for content autgenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
1 change: 1 addition & 0 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Command line reference
``enable_replica``, Enables the replica for the given source changing the source status to stopped. It's useful if the replica crashes., ``--config`` ``--source``
``run_maintenance``, Runs a VACUUM on the log tables for the given source. If is specified then the maintenance runs a VACUUM FULL, ``--config`` ``--source`` ``--full``
``stop_all_replicas``, Stops all the running sources within the target postgresql database., ``--config``
``copy_schema``, Stops all the running sources within the target postgresql database., ``--config``


Example
Expand Down
2 changes: 1 addition & 1 deletion pg_chameleon/sql/tests/06_create_broken.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ CREATE TABLE test_broken (
last_update TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (id),
KEY idx_actor_last_name (value2)
)ENGINE=InnoDB DEFAULT CHARSET=utf8;
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
3 changes: 2 additions & 1 deletion pg_chameleon/sql/tests/test.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ CREATE TABLE test (
last_update TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (id),
KEY idx_actor_last_name (value2)
)ENGINE=InnoDB DEFAULT CHARSET=utf8;
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

INSERT INTO test (value1,value2)
VALUES
('hello','dave'),
Expand Down

0 comments on commit 460a730

Please sign in to comment.