console.log('in test file');

Tinytest.add("Postgres - basics", function (test) {

  if (Meteor.isServer) {
    console.log('in test');

    //first delete table
    //Drop table work, but, it seems like the notify does not be dropped.
    Postgres.dropTable('tasks');

    // way to detect the existence of specific table?

    // Version 1
    // var taskTable = {
    //   text: [Postgres._DataTypes['$string'], Postgres._TableConstraints['$notnull']]
    // };

    // Varsion 2
    // var taskTable = {
    //   text: [Postgres._DataTypes['$string'], 'not null']
    // };

    // Postgres.createTable('tasks', taskTable);
  }

  test.equal(true, true);

})


@@ -375,36 +375,16 @@
   text: 
-%5BPostgres._DataTypes
 %5B'$strin
@@ -389,38 +389,10 @@
 ing'
-%5D
 , 
-Postgres._TableConstraints%5B
 '$no
@@ -398,17 +398,16 @@
 otnull'%5D
-%5D
 %0A    // 
@@ -471,28 +471,8 @@
 xt: 
-%5BPostgres._DataTypes
 %5B'$s
@@ -477,17 +477,16 @@
 $string'
-%5D
 , 'not n

create table waiting for the syntax finished