Skip to content

Commit d074635

Browse files
committed
Change event_id column type
1 parent 6828c1e commit d074635

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/ruby_event_store-sequel/lib/ruby_event_store/generators/templates/postgres/1_create_ruby_event_store_tables.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
column :stream, String, null: false
1212
column :position, Integer
13-
column :event_id, :uuid, null: false
13+
column :event_id, String, null: false
1414
column :created_at,
1515
Time,
1616
null: false,
@@ -24,7 +24,7 @@
2424
create_table :event_store_events do
2525
primary_key :id, type: :Bignum, null: false
2626

27-
column :event_id, :uuid, null: false
27+
column :event_id, String, null: false
2828
column :event_type, String, null: false
2929
column :metadata, data_type
3030
column :data, data_type, null: false

0 commit comments

Comments
 (0)