You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: 20120403120000_create_templates.rb
    path of file: ./repos/GloboDNS/db/migrate
    
    the code of the file until where you have to start completion: # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to 
    
  def self.up
    create_table :domain_templates do |t|
      t.string  :name
      t.integer :ttl, :null => false
      t.timestamps
    end

    create_table :record_templates do |t|
      t.integer :domain_template_id
      t.string  :name
      t.string  :record_type,      :null => false
      t.string  :content,          :null => false
      t.integer :ttl,              :null => false
      t.integer :prio
      t.timestamps
    end
  end