lib/kamerling/migrations/1_basic_schema.rb in kamerling-0.0.1 vs lib/kamerling/migrations/1_basic_schema.rb in kamerling-0.0.2
- old
+ new
@@ -17,13 +17,13 @@
uuid :uuid, primary_key: true
inet :host, null: false
integer :port, null: false
string :prot, null: false
foreign_key :client_uuid, :clients, index: true, null: false,
- type: :uuid
+ type: :uuid
foreign_key :project_uuid, :projects, index: true, null: false,
- type: :uuid
+ type: :uuid
end
create_table :results do
uuid :uuid, primary_key: true
bytea :data, null: false
@@ -37,9 +37,9 @@
create_table :tasks do
uuid :uuid, primary_key: true
boolean :done, null: false
bytea :data, null: false
foreign_key :project_uuid, :projects, index: true, null: false,
- type: :uuid
+ type: :uuid
end
end
end