db-migrate-x 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/readme.md CHANGED
@@ -6,7 +6,31 @@ Provides convenient abstractions for creating tables, indexes and general databa
6
6
 
7
7
  ## Usage
8
8
 
9
- Please see the [project documentation](https://socketry.github.io/db-migrate).
9
+ Please see the [project documentation](https://socketry.github.io/db-migrate/) for more details.
10
+
11
+ - [Getting Started](https://socketry.github.io/db-migrate/guides/getting-started/index) - This guide explains how to get started with `db-migrate` for managing database schema changes in Ruby applications.
12
+
13
+ - [Migrations](https://socketry.github.io/db-migrate/guides/migrations/index) - This guide explains how to create and structure database migrations using `db-migrate`.
14
+
15
+ - [Create Table](https://socketry.github.io/db-migrate/guides/create-table/index) - This guide explains how to create database tables using `db-migrate`.
16
+
17
+ - [Alter Table](https://socketry.github.io/db-migrate/guides/alter-table/index) - This guide explains how to modify existing database tables using `db-migrate`.
18
+
19
+ - [Drop Table](https://socketry.github.io/db-migrate/guides/drop-table/index) - This guide explains how to remove database tables using `db-migrate`.
20
+
21
+ - [Create Index](https://socketry.github.io/db-migrate/guides/create-index/index) - This guide explains how to create database indexes using `db-migrate`.
22
+
23
+ ## Releases
24
+
25
+ Please see the [project releases](https://socketry.github.io/db-migrate/releases/index) for all releases.
26
+
27
+ ### v0.3.0
28
+
29
+ - Improved database compatibility using standardized feature detection from `DB::Features`.
30
+ - Add support for `alter_table` operations: `rename_column`, `change_column`, and `drop_column`.
31
+ - Enhanced column type changes with database-specific syntax selection.
32
+ - Conditional `IF EXISTS` clauses are now only used when supported by the database.
33
+ - Improved idempotency and safety of migration operations.
10
34
 
11
35
  ## Contributing
12
36
 
data/releases.md ADDED
@@ -0,0 +1,9 @@
1
+ # Releases
2
+
3
+ ## v0.3.0
4
+
5
+ - Improved database compatibility using standardized feature detection from `DB::Features`.
6
+ - Add support for `alter_table` operations: `rename_column`, `change_column`, and `drop_column`.
7
+ - Enhanced column type changes with database-specific syntax selection.
8
+ - Conditional `IF EXISTS` clauses are now only used when supported by the database.
9
+ - Improved idempotency and safety of migration operations.
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,11 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: db-migrate-x
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain:
11
10
  - |
@@ -37,22 +36,22 @@ cert_chain:
37
36
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
38
37
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
39
38
  -----END CERTIFICATE-----
40
- date: 2024-09-21 00:00:00.000000000 Z
39
+ date: 1980-01-02 00:00:00.000000000 Z
41
40
  dependencies:
42
41
  - !ruby/object:Gem::Dependency
43
42
  name: db
44
43
  requirement: !ruby/object:Gem::Requirement
45
44
  requirements:
46
- - - ">="
45
+ - - "~>"
47
46
  - !ruby/object:Gem::Version
48
- version: '0'
47
+ version: '0.14'
49
48
  type: :runtime
50
49
  prerelease: false
51
50
  version_requirements: !ruby/object:Gem::Requirement
52
51
  requirements:
53
- - - ">="
52
+ - - "~>"
54
53
  - !ruby/object:Gem::Version
55
- version: '0'
54
+ version: '0.14'
56
55
  - !ruby/object:Gem::Dependency
57
56
  name: migrate
58
57
  requirement: !ruby/object:Gem::Requirement
@@ -67,13 +66,19 @@ dependencies:
67
66
  - - "~>"
68
67
  - !ruby/object:Gem::Version
69
68
  version: '0.3'
70
- description:
71
- email:
72
69
  executables: []
73
70
  extensions: []
74
71
  extra_rdoc_files: []
75
72
  files:
73
+ - context/alter-table.md
74
+ - context/create-index.md
75
+ - context/create-table.md
76
+ - context/drop-table.md
77
+ - context/getting-started.md
78
+ - context/index.yaml
79
+ - context/migrations.md
76
80
  - lib/db/migrate.rb
81
+ - lib/db/migrate/alter_table.rb
77
82
  - lib/db/migrate/create_index.rb
78
83
  - lib/db/migrate/create_table.rb
79
84
  - lib/db/migrate/drop_index.rb
@@ -84,6 +89,7 @@ files:
84
89
  - lib/db/migrate/version.rb
85
90
  - license.md
86
91
  - readme.md
92
+ - releases.md
87
93
  homepage: https://github.com/socketry/db-migrate
88
94
  licenses:
89
95
  - MIT
@@ -91,7 +97,6 @@ metadata:
91
97
  documentation_uri: https://socketry.github.io/db-migrate/
92
98
  funding_uri: https://github.com/sponsors/ioquatix/
93
99
  source_code_uri: https://github.com/socketry/db-migrate.git
94
- post_install_message:
95
100
  rdoc_options: []
96
101
  require_paths:
97
102
  - lib
@@ -99,15 +104,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
104
  requirements:
100
105
  - - ">="
101
106
  - !ruby/object:Gem::Version
102
- version: '3.1'
107
+ version: '3.2'
103
108
  required_rubygems_version: !ruby/object:Gem::Requirement
104
109
  requirements:
105
110
  - - ">="
106
111
  - !ruby/object:Gem::Version
107
112
  version: '0'
108
113
  requirements: []
109
- rubygems_version: 3.5.11
110
- signing_key:
114
+ rubygems_version: 3.6.9
111
115
  specification_version: 4
112
116
  summary: Database migrations.
113
117
  test_files: []
metadata.gz.sig CHANGED
Binary file