Skip to content

Instantly share code, notes, and snippets.

@Insood
Created November 29, 2017 00:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Insood/f412d814336cbe2406e687e2b2ff9373 to your computer and use it in GitHub Desktop.
Save Insood/f412d814336cbe2406e687e2b2ff9373 to your computer and use it in GitHub Desktop.
<changeSet author="liquibase-docs" id="createTable-example">
<createTable catalogName="cat"
remarks="A String"
schemaName="public"
tableName="person"
tablespace="A String">
<column name="address" type="varchar(255)"/>
</createTable>
</changeSet>
class cat < ActiveRecord::Migration
def change
create_table :person do |t|
t.string :address
t.timestamps
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment