fourth_dimensional 0.1.2 → 0.1.3
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd985083ce9024db807bef1ddbf5083ce3a8c997697d3a2bf97933bbaf5b4417
|
4
|
+
data.tar.gz: 270687dcbd4164e2ccf383161b9a220697bbcd449b2eae9e2051759868091df0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c529d06135fdc56d646534cb50cdb8a20bf45c7f07b047b623533282419e65e950ddf5dc2e57db6cccb452adfdb666d402fb7371c5401c4a2ab5667d7f00725a
|
7
|
+
data.tar.gz: 4f3a9e988cdf927406a8b3641d0c04943b9eaf1290929fbe2a56ded8b538103cd5d3b8c8a2f7edc2465d24033d25d3485710216693729ede0f217795ab808de4
|
@@ -0,0 +1,20 @@
|
|
1
|
+
class CreateFourthDimensionalTables < ActiveRecord::Migration<%= migration_version %>
|
2
|
+
def change
|
3
|
+
create_table :fourd_commands do |t|
|
4
|
+
t.uuid :aggregate_id, null: false
|
5
|
+
t.string :command_type, null: false
|
6
|
+
t.text :data
|
7
|
+
t.timestamps null: false
|
8
|
+
end
|
9
|
+
|
10
|
+
create_table :fourd_events do |t|
|
11
|
+
t.uuid :uuid, null: false
|
12
|
+
t.uuid :aggregate_id, null: false
|
13
|
+
t.integer :version, null: false
|
14
|
+
t.string :event_type, null: false
|
15
|
+
t.text :data, null: false
|
16
|
+
t.text :metadata, null: false
|
17
|
+
t.timestamps null: false
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fourth_dimensional
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Baylor Rae'
|
@@ -167,6 +167,7 @@ files:
|
|
167
167
|
- lib/generators/fourth_dimensional/install_generator.rb
|
168
168
|
- lib/generators/fourth_dimensional/migration_generator.rb
|
169
169
|
- lib/generators/fourth_dimensional/templates/initializer.rb
|
170
|
+
- lib/generators/fourth_dimensional/templates/migration.rb.erb
|
170
171
|
homepage: https://github.com/baylorrae/fourth_dimensional
|
171
172
|
licenses: []
|
172
173
|
metadata: {}
|