Add share cards
This commit is contained in:
51 files changed
+1193
-239
No files matched your search
@@ -201,14 +201,14 @@ func TestMigrate_AddsChainColumn(t *testing.T) {
|
||||
}
|
||||
db.Close()
|
||||
|
||||
// Open via our store — migrate() must add the chain column.
|
||||
// Open via our store, migrate() must add the chain column.
|
||||
s, err := Open(f.Name())
|
||||
if err != nil {
|
||||
t.Fatalf("Open after migration: %v", err)
|
||||
}
|
||||
defer s.Close()
|
||||
|
||||
// Insert a block with a chain value — would fail if migration didn't add
|
||||
// Insert a block with a chain value, would fail if migration didn't add
|
||||
// the column.
|
||||
inserted, err := s.InsertBlock(Block{
|
||||
Height: 1000,
|
||||
|
||||
Reference in new issue
Block a user