PATH:
home
/
lab2454c
/
costbloc.com
/
Modules
/
GeoLocale
/
Database
/
Migrations
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateGeoLocaleCountriesLocaleTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('geolocale_countries_locale', function (Blueprint $table) { $table->bigIncrements('id')->comment('Auto increase ID'); $table->bigInteger('country_id')->unsigned()->comment('Country ID'); $table->string('name', 191)->default('')->comment('Localized Country Name'); $table->string('alias', 191)->nullable()->comment('Localized Country Alias'); $table->string('abbr', 16)->nullable()->comment('Localized Country Abbr Name'); $table->string('full_name', 191)->nullable()->comment('Localized Country Fullname'); $table->string('currency_name', 191)->nullable()->comment('Localized Country Currency Name'); $table->string('locale', 6)->nullable()->comment('locale'); $table->unique(['country_id','locale'], 'uniq_country_id_locale'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::drop('geolocale_countries_locale'); } }
[-] 2017_04_08_163453_create_geolocale_countries_locale_table.php
[edit]
[-] 2017_04_08_163453_create_geolocale_cities_locale_table.php
[edit]
[-] 2017_04_08_163453_create_geolocale_cities_table.php
[edit]
[+]
..
[-] 2017_04_08_163453_create_geolocale_countries_table.php
[edit]
[-] 2017_04_08_163453_create_geolocale_continents_locale_table.php
[edit]
[-] 2017_04_08_163453_create_geolocale_divisions_table.php
[edit]
[-] 2017_04_08_163454_add_foreign_keys_to_geolocale_divisions_table.php
[edit]
[-] 2017_04_08_163454_add_foreign_keys_to_geolocale_countries_locale_table.php
[edit]
[-] 2017_04_08_163454_add_foreign_keys_to_geolocale_continents_locale_table.php
[edit]
[-] 2021_07_22_221136_add_code_numeric_to_geolocale_countries.php
[edit]
[-] 2021_07_22_172545_add_timezone_to_geolocale_cities_table.php
[edit]
[-] 2017_04_08_163454_add_foreign_keys_to_geolocale_cities_table.php
[edit]
[-] 2017_04_08_163453_create_geolocale_divisions_locale_table.php
[edit]
[-] 2019_12_23_153024_create_geolocale_languages_table.php
[edit]
[-] 2017_04_08_163454_add_foreign_keys_to_geolocale_divisions_locale_table.php
[edit]
[-] 2017_04_08_163454_add_foreign_keys_to_geolocale_cities_locale_table.php
[edit]
[-] 2017_04_08_163454_add_foreign_keys_to_geolocale_countries_table.php
[edit]
[-] 2017_04_08_163453_create_geolocale_continents_table.php
[edit]