Skip to content

Commit 67c0f59

Browse files
committed
Restoring mysteriusly changed db constraints...
1 parent c57dee5 commit 67c0f59

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

db/schema.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102

103103
create_table "hosts", :force => true do |t|
104104
t.datetime "created_at"
105-
t.string "address", :null => false
105+
t.string "address", :limit => nil, :null => false
106106
t.string "mac"
107107
t.string "comm"
108108
t.string "name"
@@ -686,7 +686,7 @@
686686

687687
create_table "wmap_requests", :force => true do |t|
688688
t.string "host"
689-
t.string "address"
689+
t.string "address", :limit => nil
690690
t.integer "port"
691691
t.integer "ssl"
692692
t.string "meth", :limit => 32
@@ -703,7 +703,7 @@
703703

704704
create_table "wmap_targets", :force => true do |t|
705705
t.string "host"
706-
t.string "address"
706+
t.string "address", :limit => nil
707707
t.integer "port"
708708
t.integer "ssl"
709709
t.integer "selected"

0 commit comments

Comments
 (0)