Changeset 1965297
- Timestamp:
- 10/29/2018 06:20:54 PM (7 years ago)
- Location:
- easyreservations/trunk
- Files:
-
- 4 edited
-
easyReservations.php (modified) (1 diff)
-
lib/class-easyreservations.php (modified) (2 diffs)
-
lib/updates/install.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
easyreservations/trunk/easyReservations.php
r1965260 r1965297 4 4 Plugin URI: http://www.easyreservations.org 5 5 Description: This powerful property and reservation management plugin allows you to receive, schedule and handle your bookings easily! 6 Version: 5.0. 46 Version: 5.0.5 7 7 Author: Feryaz Beer 8 8 Author URI: http://www.feryaz.de -
easyreservations/trunk/lib/class-easyreservations.php
r1965260 r1965297 8 8 final class easyReservations { 9 9 //Current Version of easyReservations 10 public $version = '5.0. 4';10 public $version = '5.0.5'; 11 11 12 12 //Current Database Version of easyReservations … … 40 40 $reservations_settings = get_option( "reservations_settings" ); 41 41 42 define( 'RESERVATIONS_VERSION', '5.0. 4' );42 define( 'RESERVATIONS_VERSION', '5.0.5' ); 43 43 define( 'RESERVATIONS_ABSPATH', dirname( RESERVATIONS_PLUGIN_FILE ) . '/' ); 44 44 define( 'RESERVATIONS_URL', WP_PLUGIN_URL . '/easyreservations/' ); -
easyreservations/trunk/lib/updates/install.php
r1964958 r1965297 64 64 $charset_collate = $wpdb->get_charset_collate(); 65 65 $max_index_length = 191; 66 $table_name = $wpdb->prefix . "reservations";67 66 68 $sql = "CREATE TABLE IF NOT EXISTS $table_name ( 69 id int(10) NOT NULL AUTO_INCREMENT, 70 arrival DATETIME NOT NULL, 71 departure DATETIME NOT NULL, 72 user int(10) NOT NULL, 73 name varchar(35) NOT NULL, 74 email varchar(50) NOT NULL, 75 country varchar(4) NOT NULL, 76 approve varchar(3) NOT NULL, 77 resource int(10) NOT NULL, 78 space int(10) NOT NULL, 79 adults int(10) NOT NULL, 80 children int(10) NOT NULL, 81 price DECIMAL(13,4), 82 paid DECIMAL(13, 4) NOT NULL default 0, 83 reserved DATETIME NOT NULL, 84 PRIMARY KEY (id), 85 KEY id (id) 86 ) $charset_collate;"; 67 $sql = "CREATE TABLE {$wpdb->prefix}reservations ( 68 id int(10) NOT NULL AUTO_INCREMENT, 69 arrival DATETIME NOT NULL, 70 departure DATETIME NOT NULL, 71 user int(10) NOT NULL, 72 name varchar(35) NOT NULL, 73 email varchar(50) NOT NULL, 74 country varchar(4) NOT NULL, 75 approve varchar(3) NOT NULL, 76 resource int(10) NOT NULL, 77 space int(10) NOT NULL, 78 adults int(10) NOT NULL, 79 children int(10) NOT NULL, 80 price DECIMAL(13,4), 81 paid DECIMAL(13, 4) NOT NULL default '0', 82 reserved DATETIME NOT NULL, 83 PRIMARY KEY (id) 84 ) $charset_collate;"; 87 85 88 $table_name = $wpdb->prefix . "reservationmeta"; 89 90 $sql .= "CREATE TABLE IF NOT EXISTS $table_name ( 91 meta_id bigint(20) unsigned NOT NULL auto_increment, 92 reservation_id bigint(20) unsigned NOT NULL default '0', 93 meta_key varchar(255) default NULL, 94 meta_value longtext, 95 PRIMARY KEY (meta_id), 96 KEY reservation_id (reservation_id), 97 KEY meta_key (meta_key($max_index_length)) 98 ) $charset_collate;"; 99 require_once(ABSPATH . 'wp-admin/includes/upgrade.php'); 86 $sql .= "CREATE TABLE {$wpdb->prefix}reservationmeta ( 87 meta_id bigint(20) unsigned NOT NULL auto_increment, 88 reservation_id bigint(20) unsigned NOT NULL default '0', 89 meta_key varchar(255) default NULL, 90 meta_value longtext, 91 PRIMARY KEY (meta_id), 92 KEY reservation_id (reservation_id), 93 KEY meta_key (meta_key($max_index_length)) 94 ) $charset_collate;"; 95 require_once(ABSPATH . 'wp-admin/includes/upgrade.php'); 100 96 dbDelta($sql); 101 97 -
easyreservations/trunk/readme.txt
r1965260 r1965297 4 4 Requires at least: 3.3 5 5 Tested up to: 4.9.8 6 Stable tag: 5.0. 46 Stable tag: 5.0.5 7 7 8 8 This powerful property and reservation management plugin allows you to receive, schedule and handle your bookings easily!
Note: See TracChangeset
for help on using the changeset viewer.