Quantcast
Channel: Ignite Realtime : Unanswered Discussions - Support
Viewing all articles
Browse latest Browse all 4979

Missing database Schema for 'table' in openfire

$
0
0

I am developing a new plugin, where I need to create a table in db.

in database folder, added a file post_mysql.sql, and dbKey as postand version as 1:

 

# $Revision$

# $Date$

 

INSERT INTO ofVersion(name,version) values('post',1);

CREATE TABLE ofPost(

  name      varchar(255)    NOT NULL,

  date     bigint          NOT NULL,

  message          varchar(100)    NOT NULL,

  messageReason    varchar(400)    NULL,

  PRIMARY KEY (name, date)

);

 

But it is giving me this log in admin console:

Missing database schema for table ofPost. Attempting to install...

postPlugin- Database update failed. Please manually upgrade your database.

Starting Client Control Plugin

Starting Fastpath Server

Starting Monitoring Plugin

....


Viewing all articles
Browse latest Browse all 4979

Trending Articles