README.md in simple_mysql_partitioning-0.3.0 vs README.md in simple_mysql_partitioning-1.0.0
- old
+ new
@@ -37,10 +37,15 @@
# partition name, less than value
pairs_name_with_values = [
['p201808', '2018-09-01']
]
+# create partition
+DailyReport.partition.create(pairs_name_with_values)
+
+NOTE: No support MAXVALUE, please use add method after created partition.
+
# add partition
DailyReport.partition.add(pairs_name_with_values)
# reorganize partition
# If you want to reorganize partition, use this method and set reorganize partition name to second arg.
@@ -60,8 +65,15 @@
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
+### How to test for local
+
+```
+BUNDLE_GEMFILE=gemfiles/Gemfile** bundle exec rspec
+ex) BUNDLE_GEMFILE=gemfiles/Gemfile.rails-6.0 bundle exec rspec
+```
+
## Contributing
-Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/simple_mysql_partitioning.
+Bug reports and pull requests are welcome on GitHub at https://github.com/Andryu/simple_mysql_partitioning.