Let's transition the TransitionRepository into a state of working.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1931 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -138,4 +138,15 @@ public class TransitionRepository extends SimpleRepository
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void migrateSchema (Connection conn, DatabaseLiaison liaison)
|
||||||
|
throws SQLException, PersistenceException
|
||||||
|
{
|
||||||
|
JDBCUtil.createTableIfMissing(conn, "TRANSITIONS", new String[] {
|
||||||
|
"CLASS varchar(200) not null",
|
||||||
|
"NAME varchar(50) not null",
|
||||||
|
"APPLIED timestamp not null",
|
||||||
|
"primary key (CLASS, NAME)" }, "");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user