Skip to content

Can't db:migrate on Postgresql #1

@tlott

Description

@tlott

I get the following error:

% RAILS_ENV=production rake db:migrate
(in /s/home/heymon/heymon)
== CreateDashboards: migrating ===============================================
-- create_table(:dashboards)
NOTICE: CREATE TABLE will create implicit sequence "dashboards_id_seq" for serial column "dashboards.id"
rake aborted!
An error has occurred, this and all later migrations canceled:

PGError: ERROR: type "blob" does not exist
LINE 1: ...L, "grp" character varying(255) NOT NULL, "query" blob NOT N...
^
: CREATE TABLE "dashboards" ("id" serial primary key, "name" character varying(255) NOT NULL, "grp" character varying(255) NOT NULL, "query" blob NOT NULL, "created_at" timestamp, "updated_at" timestamp)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions