From 922c7a9c93ed1bfe09cb409183abc96caccdc9b7 Mon Sep 17 00:00:00 2001 From: Alex Coles Date: Thu, 24 Jul 2014 17:43:40 +0200 Subject: [PATCH] Add missing Copyright header in migrations [ci skip] Signed-off-by: Alex Coles --- ...0411142338_clear_identity_urls_on_users.rb | 28 +++++++++++++++++++ .../20140414141459_remove_openid_entirely.rb | 28 +++++++++++++++++++ .../20140429152018_add_sessions_table.rb | 28 +++++++++++++++++++ .../20140430125956_reset_content_types.rb | 28 +++++++++++++++++++ ...k_packages_priority_not_null_constraint.rb | 28 +++++++++++++++++++ ...7_add_updated_at_index_to_work_packages.rb | 28 +++++++++++++++++++ 6 files changed, 168 insertions(+) diff --git a/db/migrate/20140411142338_clear_identity_urls_on_users.rb b/db/migrate/20140411142338_clear_identity_urls_on_users.rb index e71253d1bd..c36c5e8205 100644 --- a/db/migrate/20140411142338_clear_identity_urls_on_users.rb +++ b/db/migrate/20140411142338_clear_identity_urls_on_users.rb @@ -1,3 +1,31 @@ +#-- copyright +# OpenProject is a project management system. +# Copyright (C) 2012-2014 the OpenProject Foundation (OPF) +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License version 3. +# +# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows: +# Copyright (C) 2006-2013 Jean-Philippe Lang +# Copyright (C) 2010-2013 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ClearIdentityUrlsOnUsers < ActiveRecord::Migration def up create_table "legacy_user_identity_urls" do |t| diff --git a/db/migrate/20140414141459_remove_openid_entirely.rb b/db/migrate/20140414141459_remove_openid_entirely.rb index b71c3f73c5..cd1bce4aa8 100644 --- a/db/migrate/20140414141459_remove_openid_entirely.rb +++ b/db/migrate/20140414141459_remove_openid_entirely.rb @@ -1,3 +1,31 @@ +#-- copyright +# OpenProject is a project management system. +# Copyright (C) 2012-2014 the OpenProject Foundation (OPF) +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License version 3. +# +# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows: +# Copyright (C) 2006-2013 Jean-Philippe Lang +# Copyright (C) 2010-2013 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class RemoveOpenidEntirely < ActiveRecord::Migration def up drop_table 'open_id_authentication_nonces' diff --git a/db/migrate/20140429152018_add_sessions_table.rb b/db/migrate/20140429152018_add_sessions_table.rb index 4c879564a5..c0a0471cfb 100644 --- a/db/migrate/20140429152018_add_sessions_table.rb +++ b/db/migrate/20140429152018_add_sessions_table.rb @@ -1,3 +1,31 @@ +#-- copyright +# OpenProject is a project management system. +# Copyright (C) 2012-2014 the OpenProject Foundation (OPF) +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License version 3. +# +# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows: +# Copyright (C) 2006-2013 Jean-Philippe Lang +# Copyright (C) 2010-2013 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddSessionsTable < ActiveRecord::Migration def change create_table :sessions do |t| diff --git a/db/migrate/20140430125956_reset_content_types.rb b/db/migrate/20140430125956_reset_content_types.rb index bce6dd1175..99fbd9e7e8 100644 --- a/db/migrate/20140430125956_reset_content_types.rb +++ b/db/migrate/20140430125956_reset_content_types.rb @@ -1,3 +1,31 @@ +#-- copyright +# OpenProject is a project management system. +# Copyright (C) 2012-2014 the OpenProject Foundation (OPF) +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License version 3. +# +# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows: +# Copyright (C) 2006-2013 Jean-Philippe Lang +# Copyright (C) 2010-2013 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ResetContentTypes < ActiveRecord::Migration def up Attachment.all.each do |attachment| diff --git a/db/migrate/20140602112515_drop_work_packages_priority_not_null_constraint.rb b/db/migrate/20140602112515_drop_work_packages_priority_not_null_constraint.rb index 2d247f7d04..97b8681072 100644 --- a/db/migrate/20140602112515_drop_work_packages_priority_not_null_constraint.rb +++ b/db/migrate/20140602112515_drop_work_packages_priority_not_null_constraint.rb @@ -1,3 +1,31 @@ +#-- copyright +# OpenProject is a project management system. +# Copyright (C) 2012-2014 the OpenProject Foundation (OPF) +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License version 3. +# +# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows: +# Copyright (C) 2006-2013 Jean-Philippe Lang +# Copyright (C) 2010-2013 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class DropWorkPackagesPriorityNotNullConstraint < ActiveRecord::Migration def change change_column :work_packages, :priority_id, :integer, :null => true diff --git a/db/migrate/20140610125207_add_updated_at_index_to_work_packages.rb b/db/migrate/20140610125207_add_updated_at_index_to_work_packages.rb index a47c4670c0..19f2013c51 100644 --- a/db/migrate/20140610125207_add_updated_at_index_to_work_packages.rb +++ b/db/migrate/20140610125207_add_updated_at_index_to_work_packages.rb @@ -1,3 +1,31 @@ +#-- copyright +# OpenProject is a project management system. +# Copyright (C) 2012-2014 the OpenProject Foundation (OPF) +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License version 3. +# +# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows: +# Copyright (C) 2006-2013 Jean-Philippe Lang +# Copyright (C) 2010-2013 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddUpdatedAtIndexToWorkPackages < ActiveRecord::Migration def change add_index :work_packages, :updated_at