We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#timestamps
null
When I remove the database, and run the migration, I get deprecation warnings like follows:
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/ubuntu/workspace/db/migrate/20140721173546_create_customers.rb:6)
Full log:
oveits:~/workspace (development) $ rm db/test.sqlite3 oveits:~/workspace (development) $ bundle exec rake db:migrate RAILS_ENV=test == 20140721173546 CreateCustomers: migrating ================================== -- create_table(:customers) DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/ubuntu/workspace/db/migrate/20140721173546_create_customers.rb:6) -> 0.0049s == 20140721173546 CreateCustomers: migrated (0.0051s) ========================= == 20140721173737 CreateSites: migrating ====================================== -- create_table(:sites) DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/ubuntu/workspace/db/migrate/20140721173737_create_sites.rb:7) -> 0.0029s == 20140721173737 CreateSites: migrated (0.0039s) ============================= == 20140728151630 CreateDelayedJobs: migrating ================================ -- create_table(:delayed_jobs, {:force=>true}) DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in up at /home/ubuntu/workspace/db/migrate/20140728151630_create_delayed_jobs.rb:13) -> 0.0060s -- add_index(:delayed_jobs, [:priority, :run_at], {:name=>"delayed_jobs_priority"}) -> 0.0010s == 20140728151630 CreateDelayedJobs: migrated (0.0080s) ======================= == 20140729164634 CreateProvisionings: migrating ============================== -- create_table(:provisionings) DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/ubuntu/workspace/db/migrate/20140729164634_create_provisionings.rb:6) -> 0.0029s == 20140729164634 CreateProvisionings: migrated (0.0036s) ===================== == 20140802004343 AddProvisioningStatusToProvisioning: migrating ============== -- add_column(:provisionings, :provisioning_status, :string) -> 0.0009s == 20140802004343 AddProvisioningStatusToProvisioning: migrated (0.0061s) ===== == 20140802005009 RemoveProvisioningStatusToProvisioning: migrating =========== -- remove_column(:provisionings, :provisioning_status, :string) -> 0.0645s == 20140802005009 RemoveProvisioningStatusToProvisioning: migrated (0.0736s) == == 20140802005115 AddStatusToProvisioning: migrating ========================== -- add_column(:provisionings, :status, :string) -> 0.0010s == 20140802005115 AddStatusToProvisioning: migrated (0.0032s) ================= == 20140805122521 AddCustomerToProvisioning: migrating ======================== -- add_reference(:provisionings, :customer, {:index=>true}) -> 0.0024s == 20140805122521 AddCustomerToProvisioning: migrated (0.0142s) =============== == 20140805131901 AddStatusToCustomer: migrating ============================== -- add_column(:customers, :status, :string) -> 0.0009s == 20140805131901 AddStatusToCustomer: migrated (0.0036s) ===================== == 20140805155557 AddSiteToProvisioning: migrating ============================ -- add_reference(:provisionings, :site, {:index=>true}) -> 0.0028s == 20140805155557 AddSiteToProvisioning: migrated (0.0104s) =================== == 20140805160904 AddStatusToSite: migrating ================================== -- add_column(:sites, :status, :string) -> 0.0010s == 20140805160904 AddStatusToSite: migrated (0.0070s) ========================= == 20140805161451 AddCodeToSite: migrating ==================================== -- add_column(:sites, :code, :string) -> 0.0014s == 20140805161451 AddCodeToSite: migrated (0.0098s) =========================== == 20140805161609 AddCountryCodeToSite: migrating ============================= -- add_column(:sites, :countrycode, :string) -> 0.0011s == 20140805161609 AddCountryCodeToSite: migrated (0.0031s) ==================== == 20140805161637 AddAreaCodeToSite: migrating ================================ -- add_column(:sites, :areacode, :string) -> 0.0009s == 20140805161637 AddAreaCodeToSite: migrated (0.0107s) ======================= == 20140805161710 AddLocalOfficeCodeToSite: migrating ========================= -- add_column(:sites, :localofficecode, :string) -> 0.0015s == 20140805161710 AddLocalOfficeCodeToSite: migrated (0.0041s) ================ == 20140805161753 AddExtensionLengthToSite: migrating ========================= -- add_column(:sites, :extensionlength, :string) -> 0.0011s == 20140805161753 AddExtensionLengthToSite: migrated (0.0084s) ================ == 20140805161838 AddMainExtensionToSite: migrating =========================== -- add_column(:sites, :mainextension, :string) -> 0.0010s == 20140805161838 AddMainExtensionToSite: migrated (0.0030s) ================== == 20140805164905 FixColumnName: migrating ==================================== -- rename_column(:sites, :code, :sitecode) -> 0.0234s == 20140805164905 FixColumnName: migrated (0.0256s) =========================== == 20140808124522 AddGatewayIpToSite: migrating =============================== -- add_column(:sites, :gatewayIP, :string) -> 0.0012s == 20140808124522 AddGatewayIpToSite: migrated (0.0082s) ====================== == 20140809094111 AddDelayedJobToProvisioning: migrating ====================== -- add_reference(:provisionings, :delayedjob, {:index=>true}) -> 0.0031s == 20140809094111 AddDelayedJobToProvisioning: migrated (0.0188s) ============= == 20140809110212 AddAttemptsToProvisioning: migrating ======================== -- add_column(:provisionings, :attempts, :integer) -> 0.0011s == 20140809110212 AddAttemptsToProvisioning: migrated (0.0059s) =============== == 20140817172734 CreateUsers: migrating ====================================== -- create_table(:users) DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/ubuntu/workspace/db/migrate/20140817172734_create_users.rb:11) -> 0.0063s == 20140817172734 CreateUsers: migrated (0.0139s) ============================= == 20140820060722 AddStatusToUser: migrating ================================== -- add_column(:users, :status, :string) -> 0.0008s == 20140820060722 AddStatusToUser: migrated (0.0026s) ========================= == 20140820061331 AddUserToProvisioning: migrating ============================ -- add_reference(:provisionings, :user, {:index=>true}) -> 0.0036s == 20140820061331 AddUserToProvisioning: migrated (0.0206s) =================== == 20140821220517 CreateTargets: migrating ==================================== -- create_table(:targets) DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/ubuntu/workspace/db/migrate/20140821220517_create_targets.rb:7) -> 0.0104s == 20140821220517 CreateTargets: migrated (0.0153s) =========================== == 20140821221257 AddTargetToCustomer: migrating ============================== -- add_reference(:customers, :target, {:index=>true}) -> 0.0018s == 20140821221257 AddTargetToCustomer: migrated (0.0073s) ===================== == 20141217211253 AddLanguageToCustomers: migrating =========================== -- add_column(:customers, :language, :string) -> 0.0008s == 20141217211253 AddLanguageToCustomers: migrated (0.0037s) ================== == 20150406190851 AddStatusToTarget: migrating ================================ -- add_column(:targets, :status, :text) -> 0.0009s == 20150406190851 AddStatusToTarget: migrated (0.0010s) ======================= == 20150429141009 AddProvisionigobjectColumnToProvisionings: migrating ======== -- change_table(:provisionings) -> 0.0015s == 20150429141009 AddProvisionigobjectColumnToProvisionings: migrated (0.0030s) == 20150512170426 ChangeProvisioningsActionFromStringToText: migrating ======== -- change_column(:provisionings, :action, :text) -> 0.0272s == 20150512170426 ChangeProvisioningsActionFromStringToText: migrated (0.0292s) == 20150607172131 CreateTextDocuments: migrating ============================== -- create_table(:text_documents) DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/ubuntu/workspace/db/migrate/20150607172131_create_text_documents.rb:7) -> 0.0025s == 20150607172131 CreateTextDocuments: migrated (0.0045s) ===================== == 20160130072858 AddJobIdToProvisionings: migrating ========================== -- add_column(:provisionings, :job_id, :string) -> 0.0011s == 20160130072858 AddJobIdToProvisionings: migrated (0.0021s) ================= == 20160201234653 DeviseCreateAdminUsers: migrating =========================== -- create_table(:admin_users) -> 0.0015s -- add_index(:admin_users, :email, {:unique=>true}) -> 0.0016s -- add_index(:admin_users, :reset_password_token, {:unique=>true}) -> 0.0018s == 20160201234653 DeviseCreateAdminUsers: migrated (0.0074s) ================== == 20160201234705 CreateActiveAdminComments: migrating ======================== -- create_table(:active_admin_comments) DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in up at /home/ubuntu/workspace/db/migrate/20160201234705_create_active_admin_comments.rb:9) -> 0.0024s -- add_index(:active_admin_comments, [:namespace]) -> 0.0008s -- add_index(:active_admin_comments, [:author_type, :author_id]) -> 0.0018s -- add_index(:active_admin_comments, [:resource_type, :resource_id]) -> 0.0020s == 20160201234705 CreateActiveAdminComments: migrated (0.0106s) =============== == 20160203173734 CreateConfigs: migrating ==================================== -- create_table(:configs) -> 0.0011s == 20160203173734 CreateConfigs: migrated (0.0021s) =========================== == 20160203181023 AddShortDescriptionToConfig: migrating ====================== -- add_column(:configs, :short_description, :string) -> 0.0011s == 20160203181023 AddShortDescriptionToConfig: migrated (0.0029s) ============= == 20160203182054 AddDescriptionTextToConfig: migrating ======================= -- add_column(:configs, :description, :text) -> 0.0009s == 20160203182054 AddDescriptionTextToConfig: migrated (0.0011s) ============== == 20160203202010 AddDefaultValueToConfig: migrating ========================== -- add_column(:configs, :default_value, :string) -> 0.0011s == 20160203202010 AddDefaultValueToConfig: migrated (0.0018s) ================= == 20160205102214 CreateSystemSettings: migrating ============================= -- create_table(:system_settings) -> 0.0015s == 20160205102214 CreateSystemSettings: migrated (0.0019s) ====================
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I remove the database, and run the migration, I get deprecation warnings like follows:
Full log:
The text was updated successfully, but these errors were encountered: