Skip to content

Instantly share code, notes, and snippets.

@Insood
Created Nov 29, 2017
Embed
What would you like to do?
<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