Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@f1f9244dd57c:/web/yii2# php yii migrate/up --migrationPath=@vendor/dektrium/yii2-user/migrations
- Yii Migration Tool (based on Yii v2.0.29)
- Creating migration history table "migration"...Done.
- Total 12 new migrations to be applied:
- m140209_132017_init
- m140403_174025_create_account_table
- m140504_113157_update_tables
- m140504_130429_create_token_table
- m140830_171933_fix_ip_field
- m140830_172703_change_account_table_name
- m141222_110026_update_ip_field
- m141222_135246_alter_username_length
- m150614_103145_update_social_account_table
- m150623_212711_fix_username_notnull
- m151218_234654_add_timezone_to_profile
- m160929_103127_add_last_login_at_to_user_table
- Apply the above migrations? (yes|no) [no]:y
- *** applying m140209_132017_init
- > create table {{%user}} ... done (time: 0.018s)
- > create unique index {{%user_unique_username}} on {{%user}} (username) ... done (time: 0.005s)
- > create unique index {{%user_unique_email}} on {{%user}} (email) ... done (time: 0.005s)
- > create unique index {{%user_confirmation}} on {{%user}} (id, confirmation_token) ... done (time: 0.004s)
- > create unique index {{%user_recovery}} on {{%user}} (id, recovery_token) ... done (time: 0.005s)
- > create table {{%profile}} ... done (time: 0.009s)
- > add foreign key {{%fk_user_profile}}: {{%profile}} (user_id) references {{%user}} (id) ... done (time: 0.008s)
- *** applied m140209_132017_init (time: 0.080s)
- *** applying m140403_174025_create_account_table
- > create table {{%account}} ... done (time: 0.010s)
- > create unique index {{%account_unique}} on {{%account}} (provider,client_id) ... done (time: 0.004s)
- > add foreign key {{%fk_user_account}}: {{%account}} (user_id) references {{%user}} (id) ... done (time: 0.004s)
- *** applied m140403_174025_create_account_table (time: 0.040s)
- *** applying m140504_113157_update_tables
- > drop index {{%user_confirmation}} on {{%user}} ... done (time: 0.004s)
- > drop index {{%user_recovery}} on {{%user}} ... done (time: 0.002s)
- > drop column confirmation_token from table {{%user}} ... done (time: 0.002s)
- > drop column confirmation_sent_at from table {{%user}} ... done (time: 0.002s)
- > drop column recovery_token from table {{%user}} ... done (time: 0.002s)
- > drop column recovery_sent_at from table {{%user}} ... done (time: 0.002s)
- > drop column logged_in_from from table {{%user}} ... done (time: 0.002s)
- > drop column logged_in_at from table {{%user}} ... done (time: 0.002s)
- > rename column registered_from in table {{%user}} to registration_ip ... done (time: 0.002s)
- > add column flags integer NOT NULL DEFAULT 0 to table {{%user}} ... done (time: 0.002s)
- > rename column properties in table {{%account}} to data ... done (time: 0.002s)
- *** applied m140504_113157_update_tables (time: 0.046s)
- *** applying m140504_130429_create_token_table
- > create table {{%token}} ... done (time: 0.003s)
- > create unique index {{%token_unique}} on {{%token}} (user_id,code,type) ... done (time: 0.005s)
- > add foreign key {{%fk_user_token}}: {{%token}} (user_id) references {{%user}} (id) ... done (time: 0.004s)
- *** applied m140504_130429_create_token_table (time: 0.033s)
- *** applying m140830_171933_fix_ip_field
- > alter column registration_ip in table {{%user}} to bigint ... done (time: 0.017s)
- *** applied m140830_171933_fix_ip_field (time: 0.038s)
- *** applying m140830_172703_change_account_table_name
- > rename table {{%account}} to {{%social_account}} ... done (time: 0.002s)
- *** applied m140830_172703_change_account_table_name (time: 0.023s)
- *** applying m141222_110026_update_ip_field
- > alter column registration_ip in table {{%user}} to string(45) ... done (time: 0.013s)
- *** applied m141222_110026_update_ip_field (time: 0.040s)
- *** applying m141222_135246_alter_username_length
- > alter column username in table {{%user}} to SET NOT NULL ... done (time: 0.001s)
- *** applied m141222_135246_alter_username_length (time: 0.017s)
- *** applying m150614_103145_update_social_account_table
- > add column code string(32) NULL DEFAULT NULL to table {{%social_account}} ... done (time: 0.002s)
- > add column created_at integer NULL DEFAULT NULL to table {{%social_account}} ... done (time: 0.001s)
- > add column email string NULL DEFAULT NULL to table {{%social_account}} ... done (time: 0.002s)
- > add column username string NULL DEFAULT NULL to table {{%social_account}} ... done (time: 0.002s)
- > create unique index {{%account_unique_code}} on {{%social_account}} (code) ... done (time: 0.003s)
- *** applied m150614_103145_update_social_account_table (time: 0.026s)
- *** applying m150623_212711_fix_username_notnull
- > alter column username in table {{%user}} to SET NOT NULL ... done (time: 0.001s)
- *** applied m150623_212711_fix_username_notnull (time: 0.016s)
- *** applying m151218_234654_add_timezone_to_profile
- > add column timezone string(40) NULL DEFAULT NULL to table {{%profile}} ... done (time: 0.002s)
- *** applied m151218_234654_add_timezone_to_profile (time: 0.016s)
- *** applying m160929_103127_add_last_login_at_to_user_table
- > add column last_login_at integer to table {{%user}} ... done (time: 0.001s)
- *** applied m160929_103127_add_last_login_at_to_user_table (time: 0.016s)
- 12 migrations were applied.
- Migrated up successfully.
- root@f1f9244dd57c:/web/yii2# php yii migrate --migrationPath=@fedornabilkin/binds/migrations
- Yii Migration Tool (based on Yii v2.0.29)
- Total 4 new migrations to be applied:
- m180301_074916_create_bind_uids_table
- m180301_090900_create_bind_binds_table
- m180302_202819_create_seo_table
- m180308_163510_create_catalog_table
- Apply the above migrations? (yes|no) [no]:y
- *** applying m180301_074916_create_bind_uids_table
- > create table {{%bind_uids}} ... done (time: 0.010s)
- > create index {{%idx-bind_uids-created_by}} on {{%bind_uids}} (created_by) ... done (time: 0.004s)
- > create index {{%idx-bind_uids-updated_by}} on {{%bind_uids}} (updated_by) ... done (time: 0.004s)
- > create index {{%idx-bind_uids-status}} on {{%bind_uids}} (status) ... done (time: 0.004s)
- > create index {{%idx-bind_uids-table_name}} on {{%bind_uids}} (table_name) ... done (time: 0.004s)
- *** applied m180301_074916_create_bind_uids_table (time: 0.053s)
- *** applying m180301_090900_create_bind_binds_table
- > create table {{%bind_binds}} ... done (time: 0.006s)
- > create index {{%idx-bind_binds-uid}} on {{%bind_binds}} (uid) ... done (time: 0.003s)
- > create index {{%idx-bind_binds-uid_bind}} on {{%bind_binds}} (uid_bind) ... done (time: 0.003s)
- > create unique index {{%idx-bind_binds-uid_uid_bind}} on {{%bind_binds}} (uid,uid_bind) ... done (time: 0.004s)
- > add foreign key fki-bind_binds-uid-bind_uids-id: {{%bind_binds}} (uid) references {{%bind_uids}} (id) ... done (time: 0.004s)
- > add foreign key fki-bind_binds-uid_bind-bind_uids-id: {{%bind_binds}} (uid_bind) references {{%bind_uids}} (id) ... done (time: 0.003s)
- *** applied m180301_090900_create_bind_binds_table (time: 0.046s)
- *** applying m180302_202819_create_seo_table
- > create table {{%bind_seo}} ... done (time: 0.016s)
- > create index {{%idx-bind_seo-uid}} on {{%bind_seo}} (uid) ... done (time: 0.003s)
- > create index {{%idx-bind_seo-uid_content}} on {{%bind_seo}} (uid_content) ... done (time: 0.003s)
- > add foreign key fki-bind_seo-uid-bind_uids-id: {{%bind_seo}} (uid) references {{%bind_uids}} (id) ... done (time: 0.003s)
- *** applied m180302_202819_create_seo_table (time: 0.050s)
- *** applying m180308_163510_create_catalog_table
- > create table {{%bind_catalog}} ... done (time: 0.015s)
- > create index {{%idx-bind_catalog-uid}} on {{%bind_catalog}} (uid) ... done (time: 0.003s)
- > create index {{%idx-bind_catalog-alias}} on {{%bind_catalog}} (alias) ... done (time: 0.002s)
- > create index {{%idx-bind_catalog-nickname}} on {{%bind_catalog}} (nickname) ... done (time: 0.003s)
- > create index {{%idx-bind_catalog-root}} on {{%bind_catalog}} (root) ... done (time: 0.003s)
- > create index {{%idx-bind_catalog-lft}} on {{%bind_catalog}} (lft) ... done (time: 0.003s)
- > create index {{%idx-bind_catalog-rgt}} on {{%bind_catalog}} (rgt) ... done (time: 0.003s)
- > create index {{%idx-bind_catalog-lvl}} on {{%bind_catalog}} (lvl) ... done (time: 0.003s)
- > create index {{%idx-bind_catalog-active}} on {{%bind_catalog}} (active) ... done (time: 0.003s)
- > add foreign key fki-bind_catalog-uid-bind_uids-id: {{%bind_catalog}} (uid) references {{%bind_uids}} (id) ... done (time: 0.003s)
- *** applied m180308_163510_create_catalog_table (time: 0.058s)
- 4 migrations were applied.
- Migrated up successfully.
- root@f1f9244dd57c:/web/yii2# php yii migrate --migrationPath=@fedornabilkin/redirect/migrations
- Yii Migration Tool (based on Yii v2.0.29)
- Total 2 new migrations to be applied:
- m180316_063454_create_redirect_table
- m180404_202038_create_redirect_visits_table
- Apply the above migrations? (yes|no) [no]:y
- *** applying m180316_063454_create_redirect_table
- > create table {{%redirect}} ... done (time: 0.006s)
- *** applied m180316_063454_create_redirect_table (time: 0.018s)
- *** applying m180404_202038_create_redirect_visits_table
- > create table {{%redirect_visits}} ... done (time: 0.004s)
- > create index {{%idx-redirect_visits-redirect}} on {{%redirect_visits}} (redirect) ... done (time: 0.002s)
- > add foreign key {{%fki-redirect_visits-redirect-redirect-id}}: {{%redirect_visits}} (redirect) references {{%redirect}} (id) ... done (time: 0.001s)
- *** applied m180404_202038_create_redirect_visits_table (time: 0.016s)
- 2 migrations were applied.
- Migrated up successfully.
- root@f1f9244dd57c:/web/yii2# php yii migrate --migrationPath=@yii/rbac/migrations
- Yii Migration Tool (based on Yii v2.0.29)
- Total 3 new migrations to be applied:
- m140506_102106_rbac_init
- m170907_052038_rbac_add_index_on_auth_assignment_user_id
- m180523_151638_rbac_updates_indexes_without_prefix
- Apply the above migrations? (yes|no) [no]:y
- *** applying m140506_102106_rbac_init
- > create table {{%auth_rule}} ... done (time: 0.010s)
- > create table {{%auth_item}} ... done (time: 0.010s)
- > create index idx-auth_item-type on {{%auth_item}} (type) ... done (time: 0.004s)
- > create table {{%auth_item_child}} ... done (time: 0.008s)
- > create table {{%auth_assignment}} ... done (time: 0.007s)
- *** applied m140506_102106_rbac_init (time: 0.070s)
- *** applying m170907_052038_rbac_add_index_on_auth_assignment_user_id
- > create index auth_assignment_user_id_idx on {{%auth_assignment}} (user_id) ... done (time: 0.003s)
- *** applied m170907_052038_rbac_add_index_on_auth_assignment_user_id (time: 0.018s)
- *** applying m180523_151638_rbac_updates_indexes_without_prefix
- > drop index auth_assignment_user_id_idx on {{%auth_assignment}} ... done (time: 0.002s)
- > create index {{%idx-auth_assignment-user_id}} on {{%auth_assignment}} (user_id) ... done (time: 0.004s)
- > drop index idx-auth_item-type on {{%auth_item}} ... done (time: 0.002s)
- > create index {{%idx-auth_item-type}} on {{%auth_item}} (type) ... done (time: 0.003s)
- *** applied m180523_151638_rbac_updates_indexes_without_prefix (time: 0.026s)
- 3 migrations were applied.
- Migrated up successfully.
Advertisement
Add Comment
Please, Sign In to add comment