Commit Graph

27 Commits

Author SHA1 Message Date
fabianlindfors
dd90cac03a Break out Index struct from add_index
This makes the format of `add_index` a bit more consistent with
`add_column` which has a nested definition for the column. This also
sets up for us to allow adding indices in `create_table`.
2022-01-14 11:53:31 +01:00
fabianlindfors
2a3fda7a90 Add option to create unique index with add_index 2022-01-14 11:44:12 +01:00
Barry Woolgar
b3ead8b2e2
Explain the new concept at the top of the README
This allows people new to the project to understand how Reshape works before getting into the technical detail of setting it up and using it (which they may or may not want to do just yet).
2022-01-13 10:36:25 +00:00
fabianlindfors
480bcf8af1 Add remove_index action 2022-01-12 01:12:08 +01:00
fabianlindfors
6f4a575c3c Add support for changing default value with alter_column
Changing the default value only affects the new schema, the old schema
will still use the existing default value. This is to make sure a new
default value doesn't break the old application.
2022-01-10 22:45:00 +01:00
fabianlindfors
07774e87b6 Fix incorrect create_table examples 2022-01-06 16:54:35 +01:00
fabianlindfors
751c1975d7 Fix invalid example in README 2022-01-05 14:04:40 +01:00
fabianlindfors
bf75e00c29 Add release badge to README 2022-01-04 16:22:23 +01:00
fabianlindfors
98cd2751ca Add cargo installation to README 2022-01-04 16:14:40 +01:00
fabianlindfors
bffb602e02 Add Postgres compatibility note to README 2022-01-03 13:38:22 +01:00
fabianlindfors
f34e2b88f2 Adjust README 2022-01-03 13:24:55 +01:00
fabianlindfors
b17d358ed1 Add license info to README 2022-01-01 17:27:23 +01:00
fabianlindfors
db36ba0c1b Add Dockerfile 2021-12-28 16:44:52 +01:00
fabianlindfors
fda6dc8f40 Add support for generated constraints on columns 2021-12-28 16:01:11 +01:00
fabianlindfors
101a414e00 Improve README 2021-12-28 15:58:48 +01:00
fabianlindfors
1a28a4ffdf Update installation instructions in README 2021-12-28 15:25:30 +01:00
fabianlindfors
cbb1834080 Add rename table action 2021-11-17 23:39:03 +01:00
fabianlindfors
d529a48637 Document remove_table action 2021-11-17 23:07:12 +01:00
fabianlindfors
f5049324c2 Document remove_column action 2021-11-11 23:31:17 +01:00
fabianlindfors
b728f0c642 Add flag for directories to look for migrations in 2021-11-11 21:43:44 +01:00
fabianlindfors
86f77f497c Add generate-schema-query command 2021-11-11 20:47:07 +01:00
fabianlindfors
a04f94ff97 Add Postgres connection options to CLI 2021-11-11 20:36:37 +01:00
fabianlindfors
23034f2198 Add new migration for creating indices 2021-10-27 00:55:29 +02:00
fabianlindfors
0762a5025a Add missing headings to README 2021-10-27 00:19:29 +02:00
fabianlindfors
03a4180409 Update README with working TOC 2021-10-27 00:15:54 +02:00
fabianlindfors
c27afadbd2 Add foreign keys option to create table migration 2021-10-27 00:10:02 +02:00
fabianlindfors
7d8302a0a4 Initial commit 2021-10-26 00:31:09 +02:00