Skip to content

Table not created on first run #37

@tforbus

Description

@tforbus

I'm getting the following error:

{ [error: relation "User" does not exist]
  name: 'error',
  length: 95,
  severity: 'ERROR',
  code: '42P01',
  detail: undefined,
  hint: undefined,
  position: '13',
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  file: 'parse_relation.c',
  line: '873',
  routine: 'parserOpenTable' }

When I try to create the following table (it does not exist in the DB yet):

var User = database.define({'User', {
  username: {type: String}
});

I read this bug had been fixed, so maybe there's something I'm missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions