Forgot the link: https://github.com/macourtney/drift-db
On Saturday, July 7, 2012 9:38:03 AM UTC-4, Matt wrote:
Drift-db version 1.1.0 released
Drift-db is a library and companion project to Drift which gives you a
standard interface for updating databases from migrations.
In version
Ahem,
considering that I regularly alternate between MySql, Postgres and Oracle
databases, I like
the idea of just calling a pop menu like Create table (full) and let Aqua
spit out the DDL in an adjacent window
while having a database explorer pane on the left :)
Memory becomes a pricey real
.
The trace message:
DEBUG Thread-51 2028 234732,063 drift-db-mysql.flavor ]
Create table: :meta-entities with specs: ({:not-null true, :primary-key true,
:spec-type :column, :type :integer, :name :id} {:not-null true, :spec-type
:column, :type :string, :name :name
,
PRIMARY KEY(id)
)
ENGINE = InnoDB
AUTO_INCREMENT = 0
According to the AquaStudio tool I use to reverse engineer the DDL.
The trace message:
DEBUG Thread-51 2028 234732,063
drift-db-mysql.flavor ] Create table: :meta-entities with specs:
({:not-null true
to the AquaStudio tool I use to reverse engineer the DDL.
The trace message:
DEBUG Thread-51 2028 234732,063 drift-db-mysql.flavor ]
Create table: :meta-entities with specs: ({:not-null true, :primary-key true,
:spec-type :column, :type :integer, :name :id} {:not-null true, :spec
Hi
On 29 November 2011 07:03, Luc Prefontaine lprefonta...@softaddicts.ca wrote:
[...]
It yields in MySql:
CREATE TABLE meta_entities (
id int(11) NOT NULL,
name varchar(255) NOT NULL,
created_at datetime NULL,
updated_at datetime NULL,
PRIMARY KEY(id)
)
,
updated_at datetime NULL,
PRIMARY KEY(id)
)
ENGINE = InnoDB
AUTO_INCREMENT = 0
According to the AquaStudio tool I use to reverse engineer the DDL.
The trace message:
DEBUG Thread-51 2028 234732,063 drift-db-mysql.flavor ]
Create table: :meta-entities with specs
Drift DB is a clojure database library focused on migration functions.
With Drift DB you can create tables, drop tables, add columns to
tables, remove columns from tables, query tables, and, though it is
not the focus of Drift DB, you can insert, update, delete and select
rows from tables