Period validation

This commit is contained in:
Martin Lensment 2014-07-30 13:55:02 +03:00
parent 6990da7675
commit 1e2dad06f9
6 changed files with 16 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class AddPeriodToDomain < ActiveRecord::Migration
def change
add_column :domains, :period, :integer
end
end

View file

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20140730082532) do
ActiveRecord::Schema.define(version: 20140730104916) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -63,6 +63,7 @@ ActiveRecord::Schema.define(version: 20140730082532) do
t.datetime "updated_at"
t.string "name_dirty"
t.string "name_puny"
t.integer "period"
end
create_table "epp_sessions", force: true do |t|