Interface SchemaHistoryDao

    • Method Detail

      • create

        void create()
        Create the table
      • drop

        void drop()
        Drop the table
      • insert

        void insert​(int version,
                    String description,
                    String script,
                    long install)
        Insert a new script into the table
        Parameters:
        version - the version
        description - the description
        script - the script file name
        install - the unix timestamp of the install date
      • higherVersion

        int higherVersion()
        Get the higher version in the table
        Returns:
        the higher version
      • countVersions

        int countVersions()
        Count how many scripts are saved in the table
        Returns:
        the number of scripts